8000 Cleanup examples and re-enable pep8 by QuLogic · Pull Request #8603 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Cleanup examples and re-enable pep8 #8603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 12, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Run pytest on Travis instead of tests.py.
This should make pep8 checks work again since all of the source
directory will be touched.

Also, make the test script verbose so it prints out what it's doing
(this is part of the recommendations from Travis.)
  • Loading branch information
QuLogic committed May 11, 2017
commit f0d9ca07b85a6868f4777a6861e0608d45ce417c
6 changes: 3 additions & 3 deletions ci/travis/test_script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

set -e
set -ev

# This script is meant to be called by the "script" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
Expand All @@ -26,9 +26,9 @@ if [[ $BUILD_DOCS == false ]]; then

echo The following args are passed to pytest $PYTEST_ARGS $RUN_PEP8
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
python tests.py $PYTEST_ARGS $RUN_PEP8
pytest $PYTEST_ARGS $RUN_PEP8
else
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS tests.py $PYTEST_ARGS $RUN_PEP8
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS -m pytest $PYTEST_ARGS $RUN_PEP8
fi
else
cd doc
Expand Down
0