Skip to content

Commit b584375

Browse files
authored
Merge pull request #3909 from estesp/cp-3898-1.2
[release/1.2] backport: Disable criu tests in Travis CI
2 parents 79f4c65 + 34978bf commit b584375

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ install:
5555
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-runc ; fi
5656
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-cni ; fi
5757
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH script/setup/install-critools ; fi
58-
- if [ "$TRAVIS_GOOS" = "linux" ]; then wget https://github.com/checkpoint-restore/criu/archive/v3.7.tar.gz -O /tmp/criu.tar.gz ; fi
58+
- if [ "$TRAVIS_GOOS" = "linux" ]; then wget https://github.com/checkpoint-restore/criu/archive/v3.13.tar.gz -O /tmp/criu.tar.gz ; fi
5959
- if [ "$TRAVIS_GOOS" = "linux" ]; then tar -C /tmp/ -zxf /tmp/criu.tar.gz ; fi
60-
- if [ "$TRAVIS_GOOS" = "linux" ]; then cd /tmp/criu-3.7 && sudo make install-criu ; fi
60+
- if [ "$TRAVIS_GOOS" = "linux" ]; then cd /tmp/criu-3.13 && sudo make install-criu ; fi
6161
- cd $TRAVIS_BUILD_DIR
6262

6363
before_script:
@@ -78,9 +78,9 @@ script:
7878
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo make install ; fi
7979
- if [ "$TRAVIS_GOOS" = "linux" ]; then make coverage ; fi
8080
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make root-coverage ; fi
81-
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration ; fi
81+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration EXTRA_TESTFLAGS=-no-criu ; fi
8282
# Run the integration suite a second time. See discussion in github.com/containerd/containerd/pull/1759
83-
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration ; fi
83+
- if [ "$TRAVIS_GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration EXTRA_TESTFLAGS=-no-criu ; fi
8484
- if [ "$TRAVIS_GOOS" = "linux" ]; then
8585
sudo PATH=$PATH containerd -log-level debug &> /tmp/containerd-cri.log &
8686
sudo ctr version ;

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ GO_GCFLAGS=$(shell \
9898
BINARIES=$(addprefix bin/,$(COMMANDS))
9999

100100
# Flags passed to `go test`
101-
TESTFLAGS ?= -v $(TESTFLAGS_RACE)
101+
TESTFLAGS ?= -v $(TESTFLAGS_RACE) $(EXTRA_TESTFLAGS)
102102
TESTFLAGS_PARALLEL ?= 8
103103

104104
.PHONY: clean all AUTHORS build binaries test integration generate protos checkprotos coverage ci check help install uninstall vendor release mandir install-man

0 commit comments

Comments
 (0)