Skip to content

Commit dce8541

Browse files
authored
Merge pull request #3493 from dmcgowan/fix-travis-matrix
Fix travis matrix
2 parents 29e56c5 + 2398421 commit dce8541

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.travis.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ os:
1313
go:
1414
- "1.12.x"
1515

16+
env:
17+
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1
18+
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1
19+
1620
matrix:
1721
include:
18-
- os: "linux"
22+
- os: linux
1923
env: TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
24+
- os: linux
25+
env: TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1
2026

2127
go_import_path: github.com/containerd/containerd
2228

@@ -36,16 +42,6 @@ addons:
3642
- socat
3743
- libseccomp-dev
3844

39-
env:
40-
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1
41-
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1
42-
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1
43-
44-
matrix:
45-
exclude:
46-
- env: TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
47-
os: linux-ppc64le
48-
4945
before_install:
5046
- uname -r
5147

0 commit comments

Comments
 (0)