-
-
Notifications
You must be signed in to change notification settings - Fork 479
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (26 loc) · 689 Bytes
/
.travis.yml
File metadata and controls
29 lines (26 loc) · 689 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
# 指定运行环境
language: node_js
node_js:
- lts/*
branches:
only:
- develop
jobs:
include:
- name: "Push Compile"
if: type = push
install: yarn install
before_script:
- export TZ='Asia/Shanghai'
- rm -rf dist
- rm -rf examples/dist
script:
- yarn dev
- yarn build
after_success:
- git config --global user.name "Juzi"
- git config --global user.email "juzi214032@qq.com"
- git add -A
- "git commit -m 'build: Travis CI automatic compilation'"
- git pull --rebase
- git push "https://juzi214032:${GITHUB_TOKEN}@github.com/TaleLin/lin-ui" HEAD:develop