aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 26e0ce8b46b325831b9c3a1ba4ee719fba89f531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: python
python: 
  - "3.6"
branches:
  only:
    - master
    - develop
sudo: false
install: "pip install jsonschema"
script:
# won't fail, but print problems
- find . -name 'node_modules' -prune -o \( -name "*.json" -not -name "*Filler.json" -exec echo {} \; -exec python -mjson.tool {} /dev/null \; 2>&1 \) | grep -v -B 1 "^\./" | cat
# will fail, if linting fails
- find . -name 'node_modules' -prune -o \( -name "*.json" -not -name "*Filler.json" -print0 \) | xargs -I file -n1 -0 python -mjson.tool file /dev/null

# check test schemas
- python3 test.py validate ./src/VMTestsFiller ./src/GeneralStateTestsFiller ./VMTests ./GeneralStateTests ./BlockchainTests