Skip to content

Commit d7e0c8f

Browse files
author
Vadym Slizov
committed
update .travis.yml
1 parent 5b5e414 commit d7e0c8f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.travis.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ branches:
33
only:
44
- master
55
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
6+
- env GO111MODULE=on go mod download
117
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
128
- chmod +x ./cc-test-reporter
139
- ./cc-test-reporter before-build
1410
script:
15-
- go test -coverprofile c.out ./...
11+
- env GO111MODULE=on go test -coverprofile c.out ./...
1612
after_script:
1713
- ./cc-test-reporter after-build --coverage-input-type gocov --exit-code $TRAVIS_TEST_RESULT

0 commit comments

Comments
 (0)