-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml
More file actions
44 lines (36 loc) · 745 Bytes
/
.travis.yml
File metadata and controls
44 lines (36 loc) · 745 Bytes
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
44
language: node_js
node_js:
- "10"
dist: trusty
sudo: false
addons:
apt:
packages:
- google-chrome-stable
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm install -g npm
- npm -v
- yarn global add @angular/cli
branches:
only:
- develop
- /^greenkeeper/.*$/
- /^feature/.*$/
- /^release/.*$/
- /^hotfix/.*$/
- codecovTest
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
script:
- ng lint
- ng test --no-progress --code-coverage --watch=false
after_success:
- ./node_modules/.bin/codecov
notifications:
email:
on_failure: change
on_success: change