forked from w3c/mediacapture-main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
16 lines (16 loc) · 807 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
language: python
install:
- git clone https://github.com/w3c/respec.git
- git clone https://github.com/dontcallmedom/webidl-checker.git
- git clone https://github.com/dontcallmedom/widlproc
- cd widlproc && make obj/widlproc && cd ..
- pip install html5lib lxml
- pip install html5validator
- sudo apt-get install libwww-perl libcss-dom-perl
script:
- mkdir build && cd build && ln -s ../images . && ln -s ../getusermedia.css . && cd ..
- phantomjs --ignore-ssl-errors=true --ssl-protocol=tlsv1 respec/tools/respec2html.js -e -w getusermedia.html build/output.html
- python webidl-checker/webidl-check build/output.html
- "! (perl -T linkchecker/bin/checklink -S 0 -q -b build/output.html |grep \"^\")"
- html5validator --root build/
env: WIDLPROC_PATH=$TRAVIS_BUILD_DIR/widlproc/obj/widlproc