Merge pull request #206 from hakan42/validate_py
Validator written in python
This commit is contained in:
commit
6e6191db13
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue