Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit 1e7b146

Browse files
committed
Update ajv-cli, validate implementations data
This updates ajv-cli and changes it to use the current syntax to validate everything under 2020-12. I'm not sure why it was using draft-07 for the learn/examples schemas as they declare 2020-12.
1 parent ebdd0b5 commit 1e7b146

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎.travis.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ sudo: false
44
node_js:
55
- node
66
before_script:
7-
- npm install ajv-cli@3.1.0
7+
- npm install ajv-cli@5.0.0 ajv-formats@2.1.1
88
- PATH="./node_modules/.bin/:$PATH"
99
script:
1010
- bundle exec jekyll build
11-
- ajv test -s draft-07/schema -d "learn/examples/*.json" --valid --add-used-schema=false
11+
- ajv compile --spec=draft2020 --strict=false -s learn/examples/geographical-location.schema.json -s learn/examples/address.schema.json -s learn/examples/card.schema.json -s learn/examples/calendar.schema.json
12+
- ajv compile --spec=draft2020 --strict=false -c ajv-formats -s _data/schema.yml
13+
- ajv --spec=draft2020 --strict=false -c ajv-formats test -s _data/schema.yml -d "_data/*-libraries-*.yml" --valid

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /