misp-warninglists/.travis.yml

23 lines
328 B
YAML
Raw Normal View History

2017-02-12 21:13:14 +01:00
language: python
2016-06-24 10:55:51 +02:00
2017-02-12 21:13:14 +01:00
cache: pip
python:
- "3.6"
2016-06-24 10:55:51 +02:00
2017-02-12 21:13:14 +01:00
sudo: required
2016-06-24 10:55:51 +02:00
install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq jq
2017-02-12 21:13:14 +01:00
- pip install jsonschema
2016-06-24 10:55:51 +02:00
script:
2017-02-12 21:06:02 +01:00
- |
for dir in lists/*/list.json
do
echo -n "${dir}: "
jsonschema -i ${dir} schema.json
echo ''
done