mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-08-10 00:51:49 +00:00
Revert "fix #186"
This commit is contained in:
31
.travis.yml
31
.travis.yml
@@ -1,31 +0,0 @@
|
||||
language: node_js
|
||||
node_js: stable
|
||||
cache:
|
||||
directories:
|
||||
- "node_modules"
|
||||
before_install:
|
||||
- openssl aes-256-cbc -K $encrypted_4514352cb17e_key -iv $encrypted_4514352cb17e_iv
|
||||
-in .travis/khs1994-robot.enc -out ~/.ssh/id_rsa -d
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- git config --global user.name "khs1994-merge-robot"
|
||||
- git config --global user.email "ai@khs1994.com"
|
||||
- echo "TZ='Asia/Shanghai'; export TZ" >> ~/.profile
|
||||
- . ~/.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 gitbook-cli
|
||||
script:
|
||||
#- node_modules/gitbook-cli/bin/gitbook.js install
|
||||
- node_modules/gitbook-cli/bin/gitbook.js build
|
||||
after_success:
|
||||
- sh .travis/deploy.sh
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
env:
|
||||
global:
|
||||
- REPO: git@github.com:khs1994-gitbook/docker_practice.git
|
||||
addons:
|
||||
ssh_known_hosts:
|
||||
- github.com
|
Reference in New Issue
Block a user