Added dist: bionic, updated go version to 1.14.x and set GO111MODULE=on
Signed-off-by: Snehal Rajmane <srajmane@us.ibm.com>
This commit is contained in:
parent
55f88c35b9
commit
a2ed1b5e80
1 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
dist: trusty
|
dist: bionic
|
||||||
sudo: required
|
sudo: required
|
||||||
# setup travis so that we can run containers for integration tests
|
# setup travis so that we can run containers for integration tests
|
||||||
services:
|
services:
|
||||||
|
@ -8,12 +8,11 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- arch: amd64
|
- arch: amd64
|
||||||
- arch: s390x
|
- arch: s390x
|
||||||
dist: bionic
|
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- "1.13.x"
|
- "1.14.x"
|
||||||
|
|
||||||
go_import_path: github.com/docker/distribution
|
go_import_path: github.com/docker/distribution
|
||||||
|
|
||||||
|
@ -40,7 +39,7 @@ script:
|
||||||
- export GOOS=$TRAVIS_GOOS
|
- export GOOS=$TRAVIS_GOOS
|
||||||
- export CGO_ENABLED=$TRAVIS_CGO_ENABLED
|
- export CGO_ENABLED=$TRAVIS_CGO_ENABLED
|
||||||
- DCO_VERBOSITY=-q script/validate/dco
|
- DCO_VERBOSITY=-q script/validate/dco
|
||||||
- GOOS=linux GO111MODULE=off script/setup/install-dev-tools
|
- GOOS=linux GO111MODULE=on script/setup/install-dev-tools
|
||||||
- script/validate/vendor
|
- script/validate/vendor
|
||||||
- go build -i .
|
- go build -i .
|
||||||
- make check
|
- make check
|
||||||
|
|
Loading…
Reference in a new issue