Merge pull request #3493 from dmcgowan/fix-travis-matrix

Fix travis matrix
This commit is contained in:
Phil Estes 2019-08-06 10:04:50 -04:00 committed by GitHub
commit dce8541387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,10 +13,16 @@ os:
go: go:
- "1.12.x" - "1.12.x"
env:
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1
matrix: matrix:
include: include:
- os: "linux" - os: linux
env: TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0 env: TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
- os: linux
env: TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1
go_import_path: github.com/containerd/containerd go_import_path: github.com/containerd/containerd
@ -36,16 +42,6 @@ addons:
- socat - socat
- libseccomp-dev - libseccomp-dev
env:
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1
matrix:
exclude:
- env: TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
os: linux-ppc64le
before_install: before_install:
- uname -r - uname -r