forked from Ismaestro/angular-example-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
48 lines (38 loc) · 633 Bytes
/
.travis.yml
File metadata and controls
48 lines (38 loc) · 633 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
45
46
47
48
#.travis.yml
dist: trusty
sudo: required
language: node_js
node_js:
- 12.4.0
branches:
only:
- master
git:
depth: false
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
sonarcloud:
organization: "ismaestro-github"
token:
secure: $SONAR_TOKEN
before_script:
- set -e
- npm install
- npm run build:library
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- npm run lint
- npm run test
- npm run e2e
- npm run build:ssr:prod
- sonar-scanner
notifications:
email:
on_failure: change
on_success: change