Skip to content

Commit 08623da

Browse files
committed
CI: Resolve timeout issue on Travis
1 parent 50240ee commit 08623da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/script_multi.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ if [ "$DOC" ]; then
2727
echo "We are not running pytest as this is a doc-build"
2828

2929
elif [ "$COVERAGE" ]; then
30-
echo pytest -s -n 2 -m "not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
31-
pytest -s -n 2 -m "not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
30+
echo pytest -s -n 2 -m "not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --dist=loadscope --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
31+
pytest -s -n 2 -m "not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --dist=loadscope --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
3232

3333
elif [ "$SLOW" ]; then
3434
TEST_ARGS="--only-slow --skip-network"
3535
echo pytest -r xX -m "not single and slow" -v --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
3636
pytest -r xX -m "not single and slow" -v --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
3737

3838
else
39-
echo pytest -n 2 -r xX -m "not single" --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
40-
pytest -n 2 -r xX -m "not single" --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas # TODO: doctest
39+
echo pytest -n 2 -r xX -m "not single" --junitxml=/tmp/multiple.xml --dist=loadscope --strict $TEST_ARGS pandas
40+
pytest -n 2 -r xX -m "not single" --junitxml=/tmp/multiple.xml --dist=loadscope --strict $TEST_ARGS pandas # TODO: doctest
4141

4242
fi
4343

0 commit comments

Comments
 (0)