add travis

This commit is contained in:
khs1994 2017-09-04 13:25:27 +08:00
parent 46fc5f3d39
commit 83049d8a71

View File

@ -14,7 +14,7 @@ before_install:
install:
- git ls-files | while read file; do touch -d $(git log -1 --format="@%ct" "$file") "$file"; done
#- npm install gitbook -g
- npm install gitbook-cli
#- npm install gitbook-cli
script:
- node_modules/gitbook-cli/bin/gitbook.js install
- node_modules/gitbook-cli/bin/gitbook.js build