forked from JaredCubilla/sublime
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (31 loc) · 683 Bytes
/
.travis.yml
File metadata and controls
39 lines (31 loc) · 683 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
34
35
36
37
38
39
branches:
only:
- master
os:
- linux
language: shell
dist: trusty
sudo: required
before_script:
- chmod +x ./download/update.sh
- git config --global user.name "Travis CI"
- git config --global user.email "travis@travis-ci.org"
env:
global:
- GH_REF: github.com/wilon/sublime.git
script:
- git remote set-url origin https://${GH_TOKEN}@${GH_REF}
- git checkout master
# Do not set Travis push buid
- ./download/update.sh
after_script:
# 提交
- git add .
- git commit -m "Travis CI Auto Download." &
- git push --force origin master
notifications:
email:
recipients:
- wilonx@163.com
on_success: never
on_failure: never