Skip to content

Commit 69734b0

Browse files
committed
Updated travis file
1 parent 4f95531 commit 69734b0

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.travis.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,24 @@ sudo: false
22

33
language: node_js
44
node_js:
5-
- 4
6-
7-
cache:
8-
directories:
9-
- node_modules
5+
- 6
106

117
before_install:
128
- npm install codecov.io coveralls
139

1410
after_success:
1511
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
1612
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
13+
- npm run build
14+
- nwb build-demo
15+
16+
deploy:
17+
provider: pages
18+
skip_cleanup: true
19+
github_token: $GITHUB_TOKEN
20+
local_dir: demo/dist
21+
on:
22+
branch: master
1723

1824
branches:
1925
only:

0 commit comments

Comments
 (0)