forked from bullhorn/novo-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (32 loc) · 926 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
32
33
34
35
36
37
38
39
40
language: node_js
node_js:
- "5"
- "4"
cache:
directories:
- node_modules
addons:
firefox: "latest"
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
before_install:
- npm install -g npm@latest
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- curl -Lo chrome.zip https://download-chromium.appspot.com/dl/Linux_x64 && unzip chrome.zip
before_script:
- npm start &
- sleep 3
script:
- npm test
after_success:
- test $TRAVIS_BRANCH = "master" && npm run sca $GALAXY_URL
- npm install codeclimate-test-reporter -g
- codeclimate-test-reporter < coverage/lcov.info
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/f32378437048df440f25
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always