mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
dev: speed up Travis CI: don't build pull requests twice
This commit is contained in:
parent
e39e8fb5d5
commit
13c3082639
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ before_script:
|
|||
|
||||
script: make check_generated test
|
||||
|
||||
branches:
|
||||
only: # speed up CI: don't build pull requests twice
|
||||
- "master"
|
||||
|
||||
after_success:
|
||||
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
||||
- echo "travis go version='$TRAVIS_GO_VERSION'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue