2014-10-06 10:06:33 +00:00
|
|
|
language: java
|
|
|
|
|
2014-11-11 01:42:24 +00:00
|
|
|
# Our validator actually lives in the CKAN repo.
|
|
|
|
# --depth=1 is because we don't need full history.
|
2014-10-06 10:06:33 +00:00
|
|
|
|
|
|
|
install:
|
2014-11-11 01:42:24 +00:00
|
|
|
- git clone --depth=1 https://github.com/KSP-CKAN/CKAN.git
|
2014-10-06 10:06:33 +00:00
|
|
|
|
|
|
|
# Our test is merely checking that all the ckan files validate
|
2014-10-20 00:27:38 +00:00
|
|
|
# against the current spec. We exclude the CKAN directory we just
|
|
|
|
# checked out.
|
2014-10-06 10:06:33 +00:00
|
|
|
|
|
|
|
script:
|
2014-10-20 00:27:38 +00:00
|
|
|
- CKAN/bin/ckan-validate $(find . -path ./CKAN -prune -o -name '*.ckan' -print)
|
|
|
|
|