-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
37 lines (33 loc) · 924 Bytes
/
.travis.yml
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
34
35
36
language: ruby
cache: bundler
rvm: 2.6
# 缓存,可以节省集成的时间
cache:
apt: true
gem: true
directories:
- node_modules
before_install:
- git config --global user.name "KevinsBobo"
- git config --global user.email "kevins.bobo@gmail.com"
- export TZ='Asia/Shanghai'
- chmod a+x _travis.sh
- chmod a+x script/bootstrap
- chmod a+x script/cibuild
- chmod a+x script/release
- chmod a+x script/server
- chmod a+x script/validate-html
install: script/bootstrap
script: script/cibuild
after_success:
- ./_travis.sh
env:
global:
# 修改为自己Github用户名
- GH_USER_NAME: KevinsBobo
# 修改为自己Github仓库地址
- GH_REF: github.com/KevinsBobo/KevinsBobo.github.io.git
# 修改为自己Coding用户名
- CODING_USER_NAME: LHcRwhulGK
# 修改为自己Coding仓库地址
- CODING_REF: e.coding.net/KevinsBobo/KevinsBobo.coding.me.git