Skip to content

Commit f000505

Browse files
committed
test: seperate integration test and cri test in travisCI
Signed-off-by: letty <[email protected]>
1 parent 34c5a06 commit f000505

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@ before_install:
1818
- sudo apt-get update -qq
1919
- sudo apt-get install -y -qq autoconf automake
2020

21+
env:
22+
- TEST_SUITE=integration-test
23+
- TEST_SUITE=cri-test
24+
2125
script:
22-
- sudo make -e test
26+
- sudo make -e ${TEST_SUITE}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ uninstall:
9797
# Ref https://unix.stackexchange.com/questions/83191/how-to-make-sudo-preserve-path
9898
.PHONY: integration-test
9999
integration-test:
100-
@bash -c "env PATH=$(PATH) hack/make.sh pre build integration-test"
100+
@bash -c "env PATH=$(PATH) hack/make.sh build integration-test"
101101

102102
.PHONY: cri-test
103103
cri-test:
104-
@bash -c "env PATH=$(PATH) hack/make.sh pre build cri-test"
104+
@bash -c "env PATH=$(PATH) hack/make.sh build cri-test"
105105

106106
.PHONY: test
107107
test:

0 commit comments

Comments
 (0)