forked from victos/angular-opensource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (39 loc) · 746 Bytes
/
.travis.yml
File metadata and controls
39 lines (39 loc) · 746 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
os:
- linux
services:
- docker
language: node_js
node_js:
- '10'
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
cache:
yarn: true
directories:
- $HOME/.yarn-cache
- node_modules
branches:
only:
- master
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn global add @angular/cli
install:
- yarn install
script:
- ng test ng-busy --watch=false
- ng build ng-busy --prod
# - ng test angular-opensource --watch=false
notifications:
webhooks:
on_success: change
on_failure: always
on_start: false