forked from w3c/html-aam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (19 loc) · 1.27 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
dist: trusty
language: node_js
node_js:
- lts/*
branches:
only:
- gh-pages
install:
- npm install respec-validator
env:
global:
- URL="http://w3c.github.io/html-aam/echidna-manifest"
- DECISION="https://github.com/w3c/html-aam/pull/68"
- secure: "gaJ3u4lwQCD99LS+UQ4tTGWbbOPGnBm74qR+nmwnrBADgJPu7nU+QXk6Fvr3lQ+lX2+HvIu43MY4GU6lYKJOgjmjp0gGJx9cX7PD8dm9fMvZUNIL+1lBLQHQ5rQ8u1WAaaUhjDwk7EjYMDmQk3tGGB3Tc8gNe6+VrA+OmPLKJ8jjIz8FmrNxwBH16XcYDpPflMl2uZnXdmcjiWBZWejqUXthgZvSzTlBprZ022t4H4yKWpf8+s0zhrCiDlKYIVkzQB6pmF8CykbnH/3hHR0pv57NL4Ac6oaRtSe7Ggx+8EMUQJstUWpj+0L5ExLL5owarbjCluWQke/AdERr/XyHtziCc35G96cMvkpA4LjERJ2J6PyjvTTJQy1Cb/Ivc8f7jQ+mo9oHbfaof9wEIup4gahGfMlK+ZyYIn+TQDi2MlI56Wv0fxL/vp5wzN98Ha1Uu8FHkLM0nzdzed21xwo8Y7NTRTPpmueRbLzWpQTVIsW4d8YXBNWbDPNRNRtbMiByRoNvUpPUW4944JhHKbb/aKxKEogq6EGj5JQsWbmxseGYMeSReq0ECCk9diITGr4TnTitBH3hElQqVi12HY5FClXKdiL9PGQ9K0/UaJjVLjVvazTUfi7Pq8BgMbCD11P14Dn67MSF5J13h3yxc3VV/vJvK+FKw3A9z8HpY/+I1Ik="
script:
- npx respec-validator --no-links --gh-user=$GH_USER --gh-token=$GH_TOKEN index.html
after_success:
- test $TRAVIS_PULL_REQUEST = false && curl "https://labs.w3.org/echidna/api/request" --data "url=$URL" --data "decision=$DECISION" --data "token=$TOKEN" --data "cc=$CC"