add travis

pull/195/head
khs1994 2017-09-04 13:18:58 +08:00
parent 7fccf1b2cd
commit 46fc5f3d39
2 changed files with 4 additions and 4381 deletions

View File

@ -13,11 +13,11 @@ before_install:
- . ~/.profile
install:
- git ls-files | while read file; do touch -d $(git log -1 --format="@%ct" "$file") "$file"; done
- npm install gitbook -g
- npm install -g gitbook-cli
#- npm install gitbook -g
- npm install gitbook-cli
script:
- gitbook install
- gitbook build
- node_modules/gitbook-cli/bin/gitbook.js install
- node_modules/gitbook-cli/bin/gitbook.js build
after_success:
- sh .travis/deploy.sh
branches:

4377
package-lock.json generated

File diff suppressed because it is too large Load Diff