-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (28 loc) · 703 Bytes
/
.travis.yml
File metadata and controls
33 lines (28 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: node_js
node_js: stable
# S: Build Lifecycle
install:
- npm install
#before_script:
# - npm install -g gulp
# - npm install -g cnpm --registry=https://registry.npm.taobao.org
# - cnpm install hexo-renderer-pug --save
# - cnpm install hexo-renderer-sass --save
script:
- hexo clean
- hexo g
after_script:
- cd ./public
- git init
- git config user.name "SysTick"
- git config user.email "zack.li@xbro.cn"
- git add .
- git commit -m "Update docs, Auto build by Travis."
- git push --force --quiet "https://${FARAWAY_CI}@${GH_REF}" master:master
# E: Build LifeCycle
branches:
only:
- master
env:
global:
- GH_REF: github.com/SysTick/systick.github.io.git