Skip to content

Commit 60e27aa

Browse files
Shyam-Chenmgechev
authored andcommitted
add cache and formatter (mgechev#748)
* add cache and formatter * Update .travis.yml * Update .travis.yml * Update .travis.yml
1 parent 1bf2518 commit 60e27aa

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

.travis.yml

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
11
language: node_js
22
node_js:
3-
- '4.0'
4-
- '4.1'
5-
- '5.1'
3+
- 4
4+
- stable
5+
66
sudo: false
7-
services:
7+
88
before_install:
9-
- npm --version
10-
- export CHROME_BIN=chromium-browser
11-
- export DISPLAY=:99.0
12-
- sh -e /etc/init.d/xvfb start
9+
- export CHROME_BIN=chromium-browser # Karma CI
10+
- export DISPLAY=:99.0
11+
1312
before_script:
14-
notifications:
15-
email: true
16-
after_failure: cat /home/travis/build/mgechev/angular2-seed/npm-debug.log
13+
- sh -e /etc/init.d/xvfb start
14+
# - nohup bash -c webdriver-manager start 2>&1 & # Protractor CI
15+
- sleep 1 # give server time to start
16+
17+
after_failure:
18+
- cat /home/travis/build/mgechev/angular2-seed/npm-debug.log
19+
1720
branches:
18-
only:
19-
- master
21+
only: master
22+
2023
notifications:
24+
email: true
2125
webhooks:
22-
urls:
23-
- https://webhooks.gitter.im/e/565e4b2fed3b96c1b964
26+
urls: https://webhooks.gitter.im/e/565e4b2fed3b96c1b964
2427
on_success: change # options: [always|never|change] default: always
2528
on_failure: always # options: [always|never|change] default: always
2629
on_start: never # options: [always|never|change] default: always
30+
2731
env:
2832
global:
29-
# https://github.com/DefinitelyTyped/tsd#tsdrc
30-
# Token has no scope (read-only access to public information)
31-
- TSD_GITHUB_TOKEN=9b18c72997769f3867ef2ec470e626d39661795d
33+
# https://github.com/DefinitelyTyped/tsd#tsdrc
34+
# Token has no scope (read-only access to public information)
35+
- TSD_GITHUB_TOKEN=9b18c72997769f3867ef2ec470e626d39661795d
36+
37+
cache:
38+
directories: node_modules

0 commit comments

Comments
 (0)