Skip to content

Commit 5f26dc8

Browse files
authored
Update .travis.yml
1 parent 8f0a1cb commit 5f26dc8

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

.travis.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
sudo: false
2-
language: node_js
3-
node_js: "node"
4-
cache:
5-
directories:
6-
- "node_modules"
1+
language: node_js
2+
node_js:
3+
- "7"
4+
sudo: true
5+
dist: trusty
6+
77
branches:
88
only:
9-
- master
10-
notifications:
11-
email: false
9+
- master
10+
11+
before_script:
12+
- export CHROME_BIN=/usr/bin/google-chrome
13+
- export DISPLAY=:99.0
14+
- sh -e /etc/init.d/xvfb start
15+
- sudo apt-get update
16+
- sudo apt-get install -y libappindicator1 fonts-liberation
17+
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
18+
- sudo dpkg -i google-chrome*.deb
19+
20+
script:
21+
- ng test --watch false -cc
22+
- npm run e2e

0 commit comments

Comments
 (0)