-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (35 loc) · 850 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
language: node_js
node_js:
- "6.9"
cache:
directories:
- node_modules
notifications:
email: false
sudo: required
dist: trusty
group: edge
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- npm install -g firebase-tools
- npm install -g @angular/cli
before_script:
- npm prune
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- chmod +x ./ci/*.sh
script:
- ./ci/setup.sh
- ./ci/test.sh
after_success:
- npm run report-coverage
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then ./ci/deploy.sh; fi'
branches:
only:
- master