forked from w3c/screen-wake-lock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (35 loc) · 1.01 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: python
branches:
only:
- /.*/
- gh-pages
python:
- "2.7_with_system_site_packages"
services:
- xvfb
sudo: false
cache:
- apt
addons:
apt:
packages:
- libwww-perl
- libcss-dom-perl
- python-lxml
- cmake
- cmake-data
before_install:
- nvm install --lts
install:
- make travissetup
- npm install respec-validator
script:
- make check
- npx respec-validator --gh-user=$GH_USER --gh-token=$GH_TOKEN --check-links-using-get index.html
env:
global:
- URL="https://w3c.github.io/screen-wake-lock/W3CTRMANIFEST"
- DECISION="http://www.w3.org/2009/dap/track/actions/738"
- secure: "TwvUyb5luZr5jm3Q+xQS86i4M/dsFLpGISfocHCXXo9GsNPzNfsg+xphep0G83SM9DAO34f6S3Own5QKP4VRYSPGBi16y8bm0YS6VjOEXHtRQgb4UPUZsa0KXABrbxbJcTBO4gByD4Wu5qLR74Htis4N5N6y8z1Mx1QPSDrpXbA="
after_success:
- test $TRAVIS_BRANCH = "gh-pages" -a $TRAVIS_PULL_REQUEST = false && curl "https://labs.w3.org/echidna/api/request" --data "url=$URL" --data "decision=$DECISION" --data "token=$TOKEN"