Skip to content

Commit

Permalink
Go to TMP_DIR to use existing .coverage file
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve committed Nov 10, 2017
1 parent 613ebf5 commit 66e95c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_tools/travis/test_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,8 @@ if [[ "$CHECK_PYTEST_SOFT_DEPENDENCY" == "true" ]]; then
else
CMD="python"
fi
$CMD sklearn/utils/tests/test_estimator_checks.py
# .coverage from running the tests is in TMP_DIR
cd $TMP_DIR
$CMD -m sklearn.utils.tests.test_estimator_checks
cd $OLDPWD
fi

0 comments on commit 66e95c8

Please sign in to comment.