forked from jashkenas/underscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 957 Bytes
/
.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
language: node_js
sudo: false
node_js:
- "0.8"
- "0.10"
- "0.12"
matrix:
include:
- node_js: "4.0"
env: BROWSER=true
before_install:
- npm install -g npm@2.6
- npm install -g karma-cli
before_script:
- npm install karma-sauce-launcher
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm test
- "[ $BROWSER == false ] || npm run test-browser"
- "[ $BROWSER == false ] || karma start karma.conf-sauce.js"
notifications:
email: false
env:
global:
- NPM_CONFIG_PROGRESS="false"
- secure: bDZSBQfqr21hCayjcZ20IxrV6+XGhxQPFIfwWqEKLrF93Gu8LLVjZRxXE/mE8I8N4Z5WtDNb4ZHrm/TTzmcPa5MuHgIxEdknQCncobH8oimwc83SHwEPk6okeNKl39VlCjvvnmoe/V/KpnknuYn3Rqghtl/Uv9KLpCwskwjTtcw=
- secure: SRECgXuwcZTcD3GVxTS2bYNgRyye4vq6BLrV2PH9FyNenowsKQR2EwlC/dppc1Q8NWMgv79J/R96q9JOFh+mEH9L5dlBb2yhnGH8amVeM/ChAJHT/F8YktKM453uVpz5fR00QcCQDDUOx6Pvx374ID0OKNpWKAkQBWA9mPTsLnE=
matrix: BROWSER=false
after_success: npm run coveralls