forked from damienbod/angular-auth-oidc-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 774 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
sudo: required
dist: trusty
addons:
chrome: stable
language: node_js
node_js:
- '12'
before_install:
- npm i npm@^6 -g
- npm install -g @angular/cli
- npm install codecov -g
install:
- npm install
script:
- npm run lint-lib
- npm run test-lib-ci
- npm run build-lib
- cd ../..
- ls
- ng new testProject
- cd ./testProject
- npm install ../damienbod/angular-auth-oidc-client/dist/angular-auth-oidc-client
- npm test -- --watch=false --browsers=ChromeHeadless
- npm run build -- --prod
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
after_success:
- cd ..
- npm run coveralls
notifications:
email: false
slack: damienandfabian:jBlE2pSSKe18mysZZh1vtPUM