Skip to content

Commit cd5369b

Browse files
Merge pull request #2896 from thaJeztah/bump_golang_1.12
Add Golang 1.12.5
2 parents 5158bc8 + 543d1e8 commit cd5369b

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ environment:
1212
GOPATH: C:\gopath
1313
CGO_ENABLED: 1
1414
matrix:
15-
- GO_VERSION: 1.12.1
15+
- GO_VERSION: 1.12.5
1616

1717
before_build:
1818
- choco install -y mingw --version 5.3.0

.travis.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@ services:
77
language: go
88

99
go:
10-
- "1.11.x"
10+
- "1.12.x"
11+
os:
12+
- "linux"
13+
# TODO ppc64le is currently timing out on travis; see https://github.com/containerd/containerd/pull/2896
14+
# - "linux-ppc64le"
15+
16+
matrix:
17+
include:
18+
- os: "linux"
19+
env: TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
1120

1221
go_import_path: github.com/containerd/containerd
1322

@@ -31,7 +40,6 @@ env:
3140
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1
3241
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1
3342
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1
34-
- TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
3543

3644
before_install:
3745
- uname -r
@@ -61,21 +69,21 @@ script:
6169
- export CGO_ENABLED=$TRAVIS_CGO_ENABLED
6270
- DCO_VERBOSITY=-q ../project/script/validate/dco
6371
- ../project/script/validate/fileheader ../project/
64-
- ../project/script/validate/vendor
72+
- travis_wait ../project/script/validate/vendor
6573
- GOOS=linux script/setup/install-dev-tools
6674
- go build -i .
6775
- make check
6876
- if [ "$GOOS" = "linux" ]; then make check-protos check-api-descriptors; fi
6977
- make build
7078
- make binaries
71-
- if [ "$GOOS" = "linux" ]; then sudo make install ; fi
72-
- if [ "$GOOS" = "linux" ]; then make coverage ; fi
73-
- if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make root-coverage ; fi
74-
- if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration ; fi
79+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo make install ; fi
80+
- if [ "$TRAVIS_GOOS" = "linux" ]; then make coverage ; fi
81+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make root-coverage ; fi
82+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration ; fi
7583
# Run the integration suite a second time. See discussion in github.com/containerd/containerd/pull/1759
76-
- if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration ; fi
84+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration ; fi
7785
- |
78-
if [ "$GOOS" = "linux" ]; then
86+
if [ "$TRAVIS_GOOS" = "linux" ]; then
7987
sudo mkdir -p /etc/containerd
8088
sudo bash -c "cat > /etc/containerd/config.toml <<EOF
8189
[plugins.cri.containerd.default_runtime]

0 commit comments

Comments
 (0)