-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (33 loc) · 997 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
41
42
language: node_js
node_js:
- 4
- 5
- 6
sudo: false
before_install:
- export CHROME_BIN=chromium-browser # Karma CI
- export DISPLAY=:99.0
before_script:
- sh -e /etc/init.d/xvfb start
- nohup bash -c webdriver-manager start 2>&1 & # Protractor CI
- sleep 1 # give server time to start
after_failure:
- cat /home/travis/build/mgechev/angular2-seed/npm-debug.log
branches:
only: master
notifications:
email: true
webhooks:
urls: https://webhooks.gitter.im/e/565e4b2fed3b96c1b964
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
env:
global:
# https://github.com/DefinitelyTyped/tsd#tsdrc
# Token has no scope (read-only access to public information)
- TSD_GITHUB_TOKEN=9b18c72997769f3867ef2ec470e626d39661795d
cache:
directories: node_modules
script:
- npm run tests.all