forked from karma-runner/karma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 825 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
31
sudo: false
language: node_js
node_js:
- "iojs"
- "0.12"
- "0.10"
env:
global:
- SAUCE_USERNAME: vojtajina
- secure: "bRVY+hYZwMf1SqVnMyZRJTLD0gN1hLx9/MwO8MM/qBiu3YNjXy49XElfMdzMKN6cZeKTmhcnjmZonbJuI1PQ2t+utGkyjnlVLJ/OlWptreKLzIlcbt4hrdPoTcjmUTwDWq9Ex9cVoYX8AzCasETttpczp3P+s3+vmOUj8z25JyU="
# Make sure we have new NPM.
before_install:
- '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g [email protected]'
- npm install -g npm
- npm config set loglevel warn
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g grunt-cli
- rm -rf node_modules/karma
- cd node_modules && ln -nsf ../ karma && cd ../
- export $(openssl aes-256-cbc -pass env:CREDENTIALS_PASS -d -in credentials)
script:
- ./scripts/travis_run.sh
after_success:
- ./scripts/presubmit.sh