We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b5e414 commit d7e0c8fCopy full SHA for d7e0c8f
.travis.yml
@@ -3,15 +3,11 @@ branches:
3
only:
4
- master
5
before_script:
6
- - go get -u gotest.tools/assert
7
- - go get -u golang.org/x/tools/cmd/goyacc
8
- - go get -u github.com/pkg/profile
9
- - go get -u github.com/cznic/golex/lex
10
- - go get -u github.com/yookoala/realpath
+ - env GO111MODULE=on go mod download
11
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
12
- chmod +x ./cc-test-reporter
13
- ./cc-test-reporter before-build
14
script:
15
- - go test -coverprofile c.out ./...
+ - env GO111MODULE=on go test -coverprofile c.out ./...
16
after_script:
17
- ./cc-test-reporter after-build --coverage-input-type gocov --exit-code $TRAVIS_TEST_RESULT
0 commit comments