-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.travis.yml
41 lines (34 loc) · 830 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
41
sudo: false
language: node_js
node_js:
- stable
- 8
#- 6
matrix:
fast_finish: true
cache:
directories:
- node_modules/
- packages/*/node_modules/
- ${HOME}/.npm
#before_install:
# - npm install --global npm@latest
install:
- npm install
jobs:
include:
- stage: Document deploy
env: ACTION=doc
allow_failure: true
script: lerna run dist:demo --scope=meas-ui # -- -- --output-public-path=measure
deploy:
edge:
branch: v1.8.47
provider: pages
skip_cleanup: true
github_token: ${GH_TOKEN} # Set in travis-ci.org dashboard
local_dir: packages/meas-ui/demo-dist
- stage: Test
before_script: npm install codecov --no-save
script: npm test -- --coverage --ci
after_script: codecov --token=$CODECOV_TOKEN