From 56f81b7dd6583170329aec5b208dd6bb9e3c9150 Mon Sep 17 00:00:00 2001 From: Andy Grunwald Date: Sun, 27 Mar 2016 14:27:39 +0200 Subject: [PATCH] Removed if conditions for go version --- .travis.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91193a6..a883afa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,13 @@ language: go sudo: false go: - - 1.4 - - 1.5 - - tip + - 1.4 + - 1.5 + - tip before_install: - - if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then go get github.com/axw/gocov/gocov; fi; - - if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then go get github.com/mattn/goveralls; fi; - - if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi; fi; + - go get github.com/mattn/goveralls + - go get golang.org/x/tools/cmd/cover script: - - if [[ $TRAVIS_GO_VERSION = 1.6 ]]; then $HOME/gopath/bin/goveralls -service=travis-ci; fi; \ No newline at end of file + - $HOME/gopath/bin/goveralls -service=travis-ci \ No newline at end of file