Skip to content

Commit 5c9ea07

Browse files
committed
[ref]:fix travis
1 parent 4123f35 commit 5c9ea07

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.travis.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,32 @@ matrix:
2121
# run set_io tests for python2
2222
- python: "2.7"
2323
script:
24-
- python -m unittest discover -p "test_*.py" cmapPy/set_io/tests/
24+
- python -m unittest discover -p "test_*.py" -s cmapPy/set_io/tests/
2525

2626
# run set_io tests for python3
2727
- python: "3.6"
2828
script:
29-
- python -m unittest discover -p "test_*.py" cmapPy/set_io/tests/
29+
- python -m unittest discover -p "test_*.py" -s cmapPy/set_io/tests/
3030

3131
# run math tests for python2
3232
- python: "2.7"
3333
script:
34-
- python -m unittest discover -p "test_*.py" cmapPy/math/tests/
34+
- python -m unittest discover -p "test_*.py" -s cmapPy/math/tests/
3535

3636
# run math tests for python3
3737
- python: "3.6"
3838
script:
39-
- python -m unittest discover -p "test_*.py" cmapPy/math/tests/
39+
- python -m unittest discover -p "test_*.py" -s cmapPy/math/tests/
4040

4141
# run python2_python3_comaptibility tests for python2
4242
- python: "2.7"
4343
script:
44-
- python -m unittest cmapPy/pandasGEXpress/tests/test_python2_python3_compatibility.py
44+
- python -m unittest discover -p "test_python2_python3_*.py" -s cmapPy/pandasGEXpress/tests/
4545

4646
# run python2_python3_comaptibility tests for python3
4747
- python: "3.6"
4848
script:
49-
- python -m unittest cmapPy/pandasGEXpress/tests/test_python2_python3_compatibility.py
49+
- python -m unittest discover -p "test_python2_python3_*.py" -s cmapPy/pandasGEXpress/tests/
5050

5151
# what branches of github to use
5252
branches:

0 commit comments

Comments
 (0)