forked from valor-software/ng2-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (34 loc) · 784 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
39
40
dist: trusty
sudo: false
language: node_js
node_js:
- '8'
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
cache:
directories:
- ./node_modules
- ~/.cache
- ~/.npm
install:
- npm ci
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
script:
- npm run install:financial
- npm run build:financial
- npm run build:lib
- npm run test -- --watch=false --no-progress --browsers=ChromeHeadless
- ng serve &
- $(npm bin)/wait-on http-get://localhost:4200/#
- npm run test:main
- npm run test:screenshot
- kill $(jobs -p) || true