language: node_js
before_script:
  - npm install jsonlint -g
  - npm install ajv-cli -g
script:
  - find . -name \*.json  | xargs -I {} jsonlint -q {}
  - ajv validate -s compat-data.schema.old.json -d "api/**/*.json"
  - ajv validate -s compat-data.schema.json -d "css/**/*.json"
  - ajv validate -s compat-data.schema.old.json -d "http/**/*.json"
  - ajv validate -s compat-data.schema.old.json -d "javascript/**/*.json"
  - ajv validate -s compat-data.schema.json -d "webextensions/**/*.json"
notifications:
  email: false

language: node_js
before_script:
  - npm install jsonlint -g
  - npm install ajv-cli -g
script:
  - find . -name \*.json  | xargs -I {} jsonlint -q {}
  - ajv validate -s compat-data.schema.json -d "api/**/*.json"
  - ajv validate -s compat-data.schema.json -d "css/**/*.json"
  - ajv validate -s compat-data.schema.old.json -d "http/**/*.json"
  - ajv validate -s compat-data.schema.old.json -d "javascript/**/*.json"
  - ajv validate -s compat-data.schema.json -d "webextensions/**/*.json"
notifications:
  email: false

Validate api folder against new schema
Validate api folder against new schema
