set -e # Get into a temp directory to run test from the installed scikit learn and # check if we do not leave artifacts mkdir -p $TEST_DIR cwd=`pwd` test_dir=$cwd/tests cd $TEST_DIR if [[ "$COVERAGE" == "true" ]]; then nosetests -sv --with-coverage --cover-package=$MODULE $test_dir else nosetests -sv $test_dir fi