forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* coveralls need to be run from a git checkout * needs setup.cfg to be copied to the test folder in order to have nosetests running with the right arguments * moved after_success step to a script on its own * some clean-up in particular to have environment variable defined in .travis.yml as much as possible
- Loading branch information
Showing
4 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# This script is meant to be called by the "after_success" step defined in | ||
# .travis.yml. See http://docs.travis-ci.com/ for more details. | ||
|
||
# License: 3-clause BSD | ||
|
||
set -e | ||
|
||
if [[ "$COVERAGE" == "true" ]]; then | ||
# Need to run coveralls from a git checkout, so we copy .coverage | ||
# from TEST_DIR where nosetests has been run | ||
cp $TEST_DIR/.coverage $TRAVIS_BUILD_DIR | ||
cd $TRAVIS_BUILD_DIR | ||
# Ignore coveralls failures as the coveralls server is not | ||
# very reliable but we don't want travis to report a failure | ||
# in the github UI just because the coverage report failed to | ||
# be published. | ||
coveralls || echo "Coveralls upload failed" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters