-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #573 from swails/ommparams
merge master
- Loading branch information
Showing
31 changed files
with
5,859 additions
and
3,062 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
graft examples | ||
graft src | ||
graft test | ||
graft parmed |
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,36 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
do_coverage() { | ||
echo "Combining coverage data" | ||
coverage combine | ||
echo "Reporting..." | ||
coverage report -m | ||
} | ||
|
||
echo "Checking parmed source with pyflakes linter" | ||
if [ "$PYTHON_VERSION" = "pypy" ]; then | ||
export PYENV_ROOT="${HOME}/.pyenv" | ||
export PATH="${PYENV_ROOT}/bin:${PATH}" | ||
eval "$(pyenv init -)" | ||
fi | ||
sh devtools/travis-ci/pyflakes_check.sh | ||
cd test | ||
echo "Using nosetests...:" | ||
./run_scripts.sh | ||
if [ "$PYTHON_VERSION" = "pypy" ]; then | ||
# Disable coverage with pypy, since it multiplies the time taken by 6 or | ||
# something ridiculous like that | ||
nosetests -vs --with-timer --timer-ok=5s --timer-warning=12s \ | ||
--timer-filter=warning,error . | ||
else | ||
# Run nose under coverage, since that allows getting the full flexibility of | ||
# the coverage package without sacrificing nose functionality | ||
coverage run --source=parmed --parallel-mode -m \ | ||
nose -vs --with-timer --timer-ok=5s --timer-warning=12s \ | ||
--timer-filter=warning,error . | ||
fi | ||
test -z `which coverage 2>/dev/null` || do_coverage | ||
echo "Running coveralls" | ||
test -z `which coveralls` || coveralls | ||
echo "Done!" |
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
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
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
Oops, something went wrong.