Skip to content

Commit 661c328

Browse files
committed
refactor(TravisCI): 修改 TravisCI 配置文件
1 parent dde4636 commit 661c328

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ jobs:
1313
- name: "Push Compile"
1414
if: type = push AND branch = develop
1515
install: yarn install
16+
before_script:
17+
- rm -rf dist
18+
- rm -rf examples/dist
1619
script:
1720
- yarn dev
1821
- yarn build
1922
after_success:
2023
- git config --global user.name "Deployment Bot"
2124
- git config --global user.email "[email protected]"
2225
- git add -A
23-
- "git commit -m 'build: Travis CI automatic compilation.'"
26+
- "git commit -m 'build: Travis CI automatic compilation'"
2427
- git push "https://juzi214032:${GITHUB_TOKEN}@github.com/TaleLin/lin-ui" HEAD:develop
2528
- name: "Check Compile"
2629
if: type = pull_request

0 commit comments

Comments
 (0)