forked from w3c/mediacapture-fromelement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: python
branches:
only:
- /.*/
- gh-pages
python:
- "2.7_with_system_site_packages"
sudo: false
addons:
apt:
sources:
- george-edison55-precise-backports
- ubuntu-toolchain-r-test
packages:
- libwww-perl
- libcss-dom-perl
- python-lxml
- cmake
- cmake-data
- gcc-4.8
- g++-4.8
before_install:
- export CXX="g++-4.8" CC="gcc-4.8"
- nvm install 6
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
- sh -e /etc/init.d/xvfb start
install:
- make travissetup
script:
- make check
env:
global:
- URL="https://w3c.github.io/mediacapture-fromelement/W3CTRMANIFEST"
- DECISION="https://lists.w3.org/Archives/Public/public-media-capture/2015Dec/0031.html"
- secure: "BlcDX7mHk2///8Ye3OEM1bJywVu5G9Ts6jnebio/NrSIsuD8JmaX//QVaxDQMjLdL4GWC9lVtcH5w7/gOvP45ZtyRwlhShGzhXHQTBeiqX7Iq0AvZkwp4aFpoSg6Omdkd9zXbmpDSvA0/XmBcrpXOHdyXASi6n7sa/G5Xq6eaR0="
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"