From 5a477c332b23f7fadc453af273ba10f9c1dcf655 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 11 Dec 2014 10:40:20 -0600 Subject: [PATCH] Update TravisCI for Go 1.4 release. Now that Go 1.4 has been released, this commit reverts the recent changes which dealt with allowing TravisCI to work with go tip in between the Go 1.3 and Go 1.4 release cycle and updates the .travis.yml to invoke test coverage tool from the new path in Go 1.4. --- .travis.yml | 2 +- get_ci_cover.sh | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100755 get_ci_cover.sh diff --git a/.travis.yml b/.travis.yml index 499ef6c6..4c038565 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ go: - tip install: - go get -d -t -v ./... - - ./get_ci_cover.sh + - go get -v golang.org/x/tools/cmd/cover script: - go test -v -covermode=count -coverprofile=profile.cov after_success: diff --git a/get_ci_cover.sh b/get_ci_cover.sh deleted file mode 100755 index 0aaaba51..00000000 --- a/get_ci_cover.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env sh - -set -x -if [ "$TRAVIS_GO_VERSION" = "tip" ]; then - go get -v golang.org/x/tools/cmd/cover -else - go get -v code.google.com/p/go.tools/cmd/cover -fi