add travis

This commit is contained in:
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 - . ~/.profile
install: install:
- git ls-files | while read file; do touch -d $(git log -1 --format="@%ct" "$file") "$file"; done - git ls-files | while read file; do touch -d $(git log -1 --format="@%ct" "$file") "$file"; done
- npm install gitbook -g #- npm install gitbook -g
- npm install -g gitbook-cli - npm install gitbook-cli
script: script:
- gitbook install - node_modules/gitbook-cli/bin/gitbook.js install
- gitbook build - node_modules/gitbook-cli/bin/gitbook.js build
after_success: after_success:
- sh .travis/deploy.sh - sh .travis/deploy.sh
branches: branches:

4377
package-lock.json generated

File diff suppressed because it is too large Load Diff