aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-11 21:25:44 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-11 21:25:44 +0800
commitd311b1b9b7a4b99fded617ca1806aa9f00f590ab (patch)
tree06f5f41e2e95ce121ce5c4f122a39be34069cf11
parent3c40eb9e5ad164ae1d199623b3f4cfffc83e3dc6 (diff)
parente4bb419707ae0cde8a19f79154d5715d0ce1d6df (diff)
downloadgo-tangerine-d311b1b9b7a4b99fded617ca1806aa9f00f590ab.tar
go-tangerine-d311b1b9b7a4b99fded617ca1806aa9f00f590ab.tar.gz
go-tangerine-d311b1b9b7a4b99fded617ca1806aa9f00f590ab.tar.bz2
go-tangerine-d311b1b9b7a4b99fded617ca1806aa9f00f590ab.tar.lz
go-tangerine-d311b1b9b7a4b99fded617ca1806aa9f00f590ab.tar.xz
go-tangerine-d311b1b9b7a4b99fded617ca1806aa9f00f590ab.tar.zst
go-tangerine-d311b1b9b7a4b99fded617ca1806aa9f00f590ab.zip
Merge pull request #301 from ethereum/travis
Updates to Travis config
-rw-r--r--.travis.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 4659503e9..0084bf9c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,8 +11,8 @@ install:
# - go get golang.org/x/tools/cmd/vet
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/mattn/goveralls
- - go get -d github.com/obscuren/qml && cd $HOME/gopath/src/github.com/obscuren/qml && git checkout v1 && cd $TRAVIS_BUILD_DIR
- - ETH_DEPS=$(go list -f '{{.Imports}} {{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$ETH_DEPS" ]; then go get -d $ETH_DEPS; fi
+ - go get gopkg.in/check.v1
+ - DEPS=$(go list -f '{{.Imports}}' ./... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$DEPS" ]; then go get -d -v $DEPS; fi
before_script:
- gofmt -l -w .
- goimports -l -w .
@@ -20,7 +20,9 @@ before_script:
# - go vet ./...
# - go test -race ./...
script:
- - ./gocoverage.sh && if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
+ - ./gocoverage.sh
+after_success:
+ - if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
env:
global:
- PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig