-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
43 lines (35 loc) · 887 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
43
language: node_js
node_js:
- "7.10"
branches:
only:
- master
- develop
sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
- google-chrome-beta
before_install:
# - "curl -sSL https://github.com/goodeggs/travis-utils/raw/master/chrome.sh | sh"
- sh /etc/init.d/xvfb start || true
- 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
before_script:
- npm install -g @angular/cli
- npm install -g codeclimate-test-reporter
after_script:
- ng test --watch=false --code-coverage
- codeclimate-test-reporter < coverage/lcov.info
env:
CHROME_BIN=chromium-browser
DISPLAY=:99.0
notifications:
slack:
rooms:
- springuers:87OpNvMaXntND57GTmC0htJr#frontend