travis: update builders to xenial to shadow Go releases

This commit is contained in:
Péter Szilágyi
2019-04-08 10:43:01 +03:00
parent af401d03a3
commit 442320a8ae

View File

@ -4,7 +4,7 @@ sudo: false
matrix: matrix:
include: include:
- os: linux - os: linux
dist: trusty dist: xenial
sudo: required sudo: required
go: 1.10.x go: 1.10.x
script: script:
@ -16,7 +16,7 @@ matrix:
# These are the latest Go versions. # These are the latest Go versions.
- os: linux - os: linux
dist: trusty dist: xenial
sudo: required sudo: required
go: 1.11.x go: 1.11.x
script: script:
@ -43,7 +43,7 @@ matrix:
# This builder only tests code linters on latest version of Go # This builder only tests code linters on latest version of Go
- os: linux - os: linux
dist: trusty dist: xenial
go: 1.11.x go: 1.11.x
env: env:
- lint - lint
@ -55,7 +55,7 @@ matrix:
# This builder does the Ubuntu PPA upload # This builder does the Ubuntu PPA upload
- if: type = push - if: type = push
os: linux os: linux
dist: trusty dist: xenial
go: 1.11.x go: 1.11.x
env: env:
- ubuntu-ppa - ubuntu-ppa
@ -77,7 +77,7 @@ matrix:
# This builder does the Linux Azure uploads # This builder does the Linux Azure uploads
- if: type = push - if: type = push
os: linux os: linux
dist: trusty dist: xenial
sudo: required sudo: required
go: 1.11.x go: 1.11.x
env: env:
@ -111,7 +111,7 @@ matrix:
# This builder does the Linux Azure MIPS xgo uploads # This builder does the Linux Azure MIPS xgo uploads
- if: type = push - if: type = push
os: linux os: linux
dist: trusty dist: xenial
services: services:
- docker - docker
go: 1.11.x go: 1.11.x
@ -139,7 +139,7 @@ matrix:
# This builder does the Android Maven and Azure uploads # This builder does the Android Maven and Azure uploads
- if: type = push - if: type = push
os: linux os: linux
dist: trusty dist: xenial
addons: addons:
apt: apt:
packages: packages:
@ -206,7 +206,7 @@ matrix:
# This builder does the Azure archive purges to avoid accumulating junk # This builder does the Azure archive purges to avoid accumulating junk
- if: type = cron - if: type = cron
os: linux os: linux
dist: trusty dist: xenial
go: 1.11.x go: 1.11.x
env: env:
- azure-purge - azure-purge