Skip to content

Commit

Permalink
Only run Travis builds for pushes to master.
Browse files Browse the repository at this point in the history
This is so that pushes to PR branches does not trigger a duplicate build, as PR
builds are automatically triggered anyway.
  • Loading branch information
robinmitra committed Jun 26, 2019
1 parent 2aa63d9 commit 96bea1c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ go:
script: go test -v ./...

env:
- GO111MODULE=on
- GO111MODULE=on

branches:
only:
- master

0 comments on commit 96bea1c

Please sign in to comment.