We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37a057 commit 080d271Copy full SHA for 080d271
1 file changed
.travis.yml
@@ -0,0 +1,26 @@
1
+# 指定运行环境
2
+language: node_js
3
+node_js:
4
+ - lts/*
5
+
6
+# 仅监控 master 分支
7
+branches:
8
+ except:
9
+ - master
10
11
+jobs:
12
+ include:
13
+ - name: "推送编译"
14
+ if: type = push AND branch = develop
15
+ install: yarn install
16
+ script:
17
+ - yarn build
18
+ - git config --global user.name "Juzi"
19
+ - git config --global user.email "juzi214032@qq.com"
20
+ - git add -A
21
+ - "git commit -m 'build: Travis CI automatic compilation.'"
22
+ - git push "https://juzi214032:${GITHUB_TOKEN}@github.com/TaleLin/lin-ui"
23
+ - name: "检测编译"
24
+ if: type = pull_request
25
26
+ script: yarn build
0 commit comments