Skip to content

Commit 9010b01

Browse files
authored
ci: Run source clear only on cron and before linting and tests (#283)
1 parent 7e25d06 commit 9010b01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ git:
55
install:
66
- eval "$(gimme)"
77
stages:
8+
- 'Source clear'
89
- 'Lint markdown files'
910
- 'Lint'
1011
- 'Unit test'
1112
- 'Benchmark test'
1213
- 'Integration tests'
1314
- 'Production tests'
14-
- 'Source clear'
1515
- 'Readme-sync'
1616
jobs:
1717
include:
@@ -87,6 +87,7 @@ jobs:
8787
FULLSTACK_TEST_REPO=ProdTesting
8888

8989
- stage: 'Source clear'
90+
if: type = cron
9091
env: GIMME_GO_VERSION=master GIMME_OS=linux GIMME_ARCH=amd64
9192
language: go
9293
addons:

0 commit comments

Comments
 (0)