forked from sitespeedio/sitespeed.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 1.58 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
language: node_js
node_js:
- '0.10'
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- cat /etc/hosts
- phantomjs --version
- python -m SimpleHTTPServer 8009 &
- sleep 10
script:
- npm run-script travis
- node ./bin/sitespeed.js -u http://www.sitespeed.io -b firefox -n 1 -d 0
- node ./bin/sitespeed.js --sites test/sites.txt -n 1 -b firefox -n 1
- node ./bin/sitespeed.js -f test/sites.txt -n 1
- node ./bin/sitespeed.js -u http://www.sitespeed.io -b firefox -n 1 --noYslow -m
3 --screenshot
- node ./bin/sitespeed.js -u http://www.sitespeed.io -n 2 -d 0 --gpsiKey $GKEY --wptKey
$WPTKEY --wptHost www.webpagetest.org
- node ./bin/sitespeed.js -u http://127.0.0.1:8009/test/server/www/ -d 0 --junit
- node ./bin/sitespeed.js -u http://www.sitespeed.io -b headless -n 1 --headless slimerjs -m 2
- node ./bin/sitespeed.js -u http://www.sitespeed.io -b headless -n 1 -d 0 --noYslow
after_script:
- kill `ps aux | grep "python -m SimpleHTTPServer" | grep -v grep | awk '{print $2}'`
env:
global:
- secure: ZCqHD+/PhHNVFWoqir66Xd9YeJRcTHDJYvNL9j4+GTKDEI1h94twhAjQ7Z9DhlCnXwL1lsfEcIjvNCWd3ir/FNy2oZsUzu6kMpFF/niugurFbS551moJ2ObNEfOdj93/sTo4UWH2MZouC9eYeuj1vNYbAev6wBIptL95X/ArldQ=
- secure: ZmEirO6J+rY+6T6eQWRNxqiqRNOYJktqQWaeUDR6WvzoR80oPdgKoNRS012dk4aCGr2+Dxf/KP6Iu2qbDE3YP3QD7PhoexicTVB6MTl81hZfX/eN0lt4lZknTYtjnAAWQB/aWAM6OVLjh8rAzq9PTBzl5EtAeMMJWmnhz6r+cLc=
notifications:
slack:
secure: W/D3AEszCIvbkAISABUFdz5wlS5Fo+dh3DLoUd0v1fsm+jKDNN+7wJ1kIctosru+bail2Vzyr1oiHLjF8+IbitRGZ1VT8/BTpvynrp2haEUlshYsYBAVts5Y6AA/3V6WFl6FzJaHPDLsrox8OQ3Xztubhz4ybWPfk69KQvx0hYA=