add travis

This commit is contained in:
khs1994 2017-09-04 13:29:26 +08:00
parent 83049d8a71
commit 583494274e

View File

@ -16,8 +16,8 @@ install:
#- npm install gitbook -g #- npm install gitbook -g
#- npm install gitbook-cli #- npm install gitbook-cli
script: script:
- node_modules/gitbook-cli/bin/gitbook.js install #- node_modules/gitbook-cli/bin/gitbook.js install
- node_modules/gitbook-cli/bin/gitbook.js build #- node_modules/gitbook-cli/bin/gitbook.js build
after_success: after_success:
- sh .travis/deploy.sh - sh .travis/deploy.sh
branches: branches: