From a03c6f615c3922b86ffcde9448f0c10fb9293e05 Mon Sep 17 00:00:00 2001 From: Mateusz Szostok Date: Fri, 1 Nov 2019 22:19:55 +0100 Subject: [PATCH] Fix issue when Travis builds the same commit twice (once in a branch and once in PR) --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1c5fb5f..ec6f387 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ go: "1.13" # Skip the install step. Don't `go get` dependencies. Only build with the code in vendor/ install: skip +branches: + only: + - "master" env: global: - GO111MODULE=off