From 654f7f707c9bd327fcbf0dcb89715a5930f915eb Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 20 Feb 2015 12:15:08 +0100 Subject: .travis.yml: speed up tests on Travis This should decrease test runtime to about 30 seconds. --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 2dfb7e283..cf8b02f5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,7 @@ 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 gopkg.in/check.v1 - - go get github.com/tools/godep before_script: - - godep restore - gofmt -l -w . - goimports -l -w . - golint . -- cgit v1.2.3 From 3b12a9293c35fd336122d9387ab6bc9b67d2803a Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 20 Feb 2015 12:17:24 +0100 Subject: .travis.yml: don't run gofmt, goimports, golint This should yield another 30-second speed up. Nobody looks at the output of those anyway. We might want bring back gofmt later and actually fail the build if source is not formatted. --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index cf8b02f5c..1b3104826 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,15 +6,10 @@ before_install: - sudo apt-get update -qq - sudo apt-get install -yqq libgmp3-dev libreadline6-dev qt54quickcontrols qt54webengine install: - - go get code.google.com/p/go.tools/cmd/goimports - - go get github.com/golang/lint/golint # - 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 before_script: - - gofmt -l -w . - - goimports -l -w . - - golint . # - go vet ./... # - go test -race ./... script: -- cgit v1.2.3