travis: update configuration

Update the set of Go versions (and use 1.x to always test the latest
release), as well as making the cgroupv2 tests allowable failures (the
vagrant setup seems to break pretty often, causing flaky failures).

Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
Aleksa Sarai 2020-02-05 13:41:28 +11:00
parent e6555cc01a
commit dc7d0bfa0f
No known key found for this signature in database
GPG Key ID: 9E18AA267DDB8DB4
1 changed files with 5 additions and 1 deletions

View File

@ -1,19 +1,22 @@
dist: bionic dist: bionic
language: go language: go
go: go:
- 1.11.x
- 1.12.x - 1.12.x
- 1.13.x
- 1.x
- tip - tip
matrix: matrix:
include: include:
- go: 1.12.x - go: 1.12.x
name: "cgroup-systemd"
env: env:
- RUNC_USE_SYSTEMD=1 - RUNC_USE_SYSTEMD=1
script: script:
- make BUILDTAGS="${BUILDTAGS}" all - make BUILDTAGS="${BUILDTAGS}" all
- sudo PATH="$PATH" make localintegration RUNC_USE_SYSTEMD=1 - sudo PATH="$PATH" make localintegration RUNC_USE_SYSTEMD=1
- go: 1.12.x - go: 1.12.x
name: "cgroup-v2"
env: env:
- VIRTUALBOX_VERSION=6.0 - VIRTUALBOX_VERSION=6.0
- VAGRANT_VERSION=2.2.6 - VAGRANT_VERSION=2.2.6
@ -29,6 +32,7 @@ matrix:
- ssh default sudo podman run --privileged --cgroupns=private test make localunittest - ssh default sudo podman run --privileged --cgroupns=private test make localunittest
allow_failures: allow_failures:
- go: tip - go: tip
- name: "cgroup-v2"
go_import_path: github.com/opencontainers/runc go_import_path: github.com/opencontainers/runc