forked from valor-software/ngx-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (33 loc) · 807 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
sudo: false
language: node_js
node_js: "8"
dist: precise
env:
global:
- SAUCE_USERNAME=valorkin
- SAUCE_ACCESS_KEY=aeaf806e-ad5c-484b-a8fe-4b4b9f54e99a
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm run lint
- npm run build
- rm -rf node_modules/ngx-bootstrap
- npm i ./dist
- npm run demo.build
# istanbul is broken, should be fixed
- npm run test-coverage
after_success:
- ./node_modules/.bin/codecov
#- npm run test-cross
addons:
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
sauce_connect: true
firefox: "latest"
apt:
sources:
- ubuntu-toolchain-r-test
# required by node-gyp to build some packages
packages:
- g++-4.8