Skip to content

Commit 5e1003f

Browse files
committed
use python not python3 for running tests
1 parent 175f9b0 commit 5e1003f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ jobs:
1616
# make sure it's on PATH as 'python3'
1717
- ln -s /c/Python37/python.exe /c/Python37/python3.exe
1818

19+
# cibuildwheel creates a virtualenv for the test
20+
# it seems to use "python" not "python3" for testing
21+
# while the rest of the build etc should use python3
1922
env:
2023
global:
2124
- CIBW_BUILD_VERBOSITY=3
2225
- CIBW_BUILD="cp37-*"
23-
- CIBW_TEST_COMMAND="python3 -m unittest discover {project}/tests"
26+
- CIBW_TEST_COMMAND="python -m unittest discover {project}/tests"
2427
- TWINE_USERNAME=__token__
2528

2629
install:

0 commit comments

Comments
 (0)