From a2ed1b5e80d0a5d15bef9c58cfe1bbfae9b23bdb Mon Sep 17 00:00:00 2001 From: srajmane <31947381+srajmane@users.noreply.github.com> Date: Wed, 29 Apr 2020 15:36:02 +0530 Subject: [PATCH] Added dist: bionic, updated go version to 1.14.x and set GO111MODULE=on Signed-off-by: Snehal Rajmane --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee913e84a..861576c29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -dist: trusty +dist: bionic sudo: required # setup travis so that we can run containers for integration tests services: @@ -8,12 +8,11 @@ jobs: include: - arch: amd64 - arch: s390x - dist: bionic language: go go: - - "1.13.x" + - "1.14.x" go_import_path: github.com/docker/distribution @@ -40,7 +39,7 @@ script: - export GOOS=$TRAVIS_GOOS - export CGO_ENABLED=$TRAVIS_CGO_ENABLED - 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 - go build -i . - make check