mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 15:28:54 +00:00
add travis
This commit is contained in:
parent
7fccf1b2cd
commit
46fc5f3d39
@ -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
4377
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user