Merge pull request #206 from hakan42/validate_py

Validator written in python
This commit is contained in:
Alexander Dzhoganov 2014-12-29 21:43:48 +02:00
commit 6e6191db13
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
language: java
language: python
# Our validator actually lives in the CKAN repo.
# --depth=1 is because we don't need full history.
before_install:
- pip install jsonschema
install:
- git clone --depth=1 https://github.com/KSP-CKAN/CKAN.git
@ -11,7 +14,7 @@ install:
# checked out.
script:
- CKAN/bin/ckan-validate.py $(find . -path ./CKAN -prune -o -name '*.ckan' -print)
- python CKAN/bin/ckan-validate.py $(find . -path ./CKAN -prune -o -name '*.ckan' -print)
notifications:
irc: