Have travis make a shallow copy of the CKAN repo.

This commit is contained in:
Paul Fenwick 2014-11-11 12:42:24 +11:00
parent fcee7ac74a
commit 789a439afc
1 changed files with 3 additions and 4 deletions

View File

@ -1,11 +1,10 @@
language: java
# Our validator actually lives in the CKAN directory, which
# means CKAN-meta can stay nice and lightweight for then it
# gets downloaded by every single CKAN client. :)
# Our validator actually lives in the CKAN repo.
# --depth=1 is because we don't need full history.
install:
- git clone https://github.com/KSP-CKAN/CKAN.git
- git clone --depth=1 https://github.com/KSP-CKAN/CKAN.git
# Our test is merely checking that all the ckan files validate
# against the current spec. We exclude the CKAN directory we just