Skip to content

Commit 5733f00

Browse files
authored
ci: bumps docker and ubuntu versions (kreuzwerker#241)
* ci: bumps docker version to 19.03 * ci: use ubuntu bionic instead of xenial
1 parent bed25bf commit 5733f00

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.travis.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ matrix:
2525
####################################
2626
- os: linux
2727
name: "Acceptance tests"
28-
dist: xenial
28+
dist: bionic
2929
go: "1.13.x"
3030
services:
3131
- docker
3232
sudo: required
3333
before_install:
34-
# locally: docker run -it ubuntu:16.04 bash
35-
# Install 18.09
34+
# locally: docker run -it ubuntu:bionic bash (https://ubuntu.pkgs.org/18.04/docker-ce-stable-amd64/)
3635
- sudo apt-get update
3736
- sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
3837
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
3938
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
4039
- sudo apt-get update
41-
- sudo apt-get -y install docker-ce=5:18.09.6~3-0~ubuntu-xenial
40+
# apt-cache policy docker-ce
41+
- sudo apt-get -y install docker-ce=5:19.03.5~3-0~ubuntu-bionic
4242
- docker version
4343
# Allow local registry to be insecure
4444
- sudo sed 's/DOCKER_OPTS="/DOCKER_OPTS="--insecure-registry=127.0.0.1:15000 /g' -i /etc/default/docker
@@ -50,14 +50,14 @@ matrix:
5050
# https://golang.org/doc/devel/release.html#policy
5151
- os: linux
5252
name: "Build (golang current amd64)"
53-
dist: xenial
53+
dist: bionic
5454
go: "1.13.x"
5555
script:
5656
- make compile
5757

5858
- os: linux
5959
name: "Build (golang previous amd64)"
60-
dist: xenial
60+
dist: bionic
6161
go: "1.12.x"
6262
script:
6363
- make compile
@@ -67,7 +67,7 @@ matrix:
6767
####################################
6868
- os: linux
6969
name: "Unit-tests, vet, and website"
70-
dist: xenial
70+
dist: bionic
7171
go: "1.13.x"
7272
script:
7373
- make vet
@@ -101,7 +101,7 @@ matrix:
101101
####################################
102102
- os: linux
103103
name: "Build (golang future amd64)"
104-
dist: xenial
104+
dist: bionic
105105
go: tip
106106
script:
107107
- make compile

0 commit comments

Comments
 (0)