Skip to content

Commit f4e03dd

Browse files
committed
travis: bump Go versions to 1.15/1.16 and build distro to bionic
Let's join the 21st century. Signed-off-by: Dan Williams <[email protected]>
1 parent 87390b5 commit f4e03dd

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.travis.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
language: go
2-
dist: trusty
2+
dist: bionic
33

44
go:
5-
- 1.9.x
6-
- 1.10.x
7-
- 1.11.x
8-
- 1.12.x
5+
- 1.15.x
6+
- 1.16.x
97

108
env:
119
matrix:
@@ -18,19 +16,9 @@ env:
1816
matrix:
1917
fast_finish: true
2018

21-
# Ubuntu 14.04 (trusty) doesn't have a new enough util-linux for nsenter,
22-
# so we have to build it ourselves.
2319
before_install:
24-
- wget https://www.kernel.org/pub/linux/utils/util-linux/v2.24/util-linux-2.24.1.tar.gz -qO - | tar -xz -C .
2520
- sudo apt-get update
2621
- sudo apt-get install -y libncurses5-dev libslang2-dev gettext zlib1g-dev libselinux1-dev debhelper lsb-release pkg-config po-debconf autoconf automake autopoint libtool
27-
- pushd util-linux-2.24.1
28-
- ./autogen.sh
29-
- ./configure
30-
- make
31-
- sudo cp ./nsenter /usr/bin
32-
- popd
33-
- rm -rf util-linux-2.24.1
3422

3523
install:
3624
- go get golang.org/x/tools/cmd/cover

0 commit comments

Comments
 (0)