Skip to content

Commit 3b2bd70

Browse files
committed
Run Python 3 tests only once on CI
1 parent 7a5cd1f commit 3b2bd70

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ script:
5252
- ./container_build.py kmod_buildtest
5353
- (cd core && ./all_test) # TcpFlowReconstructTest requires working directory to be `core/`
5454
- coverage2 run -m unittest discover -v
55-
- coverage3 run -m unittest discover -v
55+
- "[[ ${DEBUG:-0} == 0 ]] || coverage3 run -m unittest discover -v"
5656
- python2 bessctl/bessctl -- daemon start -- run testing/run_module_tests
57-
- python3 bessctl/bessctl -- daemon start -- run testing/run_module_tests
57+
- "[[ ${DEBUG:-0} == 0 ]] || python3 bessctl/bessctl -- daemon start -- run testing/run_module_tests"
5858

5959
after_success:
6060
- bessctl/bessctl daemon stop # flush out the coverage data

0 commit comments

Comments
 (0)