Skip to content

Commit 13c3082

Browse files
committed
dev: speed up Travis CI: don't build pull requests twice
1 parent e39e8fb commit 13c3082

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ before_script:
1010

1111
script: make check_generated test
1212

13+
branches:
14+
only: # speed up CI: don't build pull requests twice
15+
- "master"
16+
1317
after_success:
1418
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
1519
- echo "travis go version='$TRAVIS_GO_VERSION'"

0 commit comments

Comments
 (0)