From 2f74570188575e9dc0e138f6f2ba2a8ffa03d058 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 22 Dec 2014 21:43:32 -0600 Subject: [PATCH] Update TravisCI to goclean script. Also, update to use the new container-based builds. --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index afd18be6..7e9d7381 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,17 +2,17 @@ language: go go: - release - tip +sudo: false +before_install: + - gocleandeps=c16c849abae90c23419d + - git clone https://gist.github.com/$gocleandeps.git + - goclean=71d0380287747d956a26 + - git clone https://gist.github.com/$goclean.git install: - go get -d -t -v ./... - - go get -v code.google.com/p/go.tools/cmd/cover - - go get -v code.google.com/p/go.tools/cmd/vet - - go get -v github.com/GeertJohan/fgt - - go get -v github.com/golang/lint/golint + - bash $gocleandeps/gocleandeps.sh script: - export PATH=$PATH:$HOME/gopath/bin - - go vet - - fgt golint . - - go test -v -covermode=count -coverprofile=profile.cov + - bash $goclean/goclean.sh after_success: - - go get -v github.com/mattn/goveralls - goveralls -coverprofile=profile.cov -service=travis-ci