Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f0d9ca0

Browse filesBrowse files
committed
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.)
1 parent 465f604 commit f0d9ca0
Copy full SHA for f0d9ca0

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎ci/travis/test_script.sh

Copy file name to clipboardExpand all lines: ci/travis/test_script.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/bash
22

3-
set -e
3+
set -ev
44

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

2727
echo The following args are passed to pytest $PYTEST_ARGS $RUN_PEP8
2828
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
29-
python tests.py $PYTEST_ARGS $RUN_PEP8
29+
pytest $PYTEST_ARGS $RUN_PEP8
3030
else
31-
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS tests.py $PYTEST_ARGS $RUN_PEP8
31+
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS -m pytest $PYTEST_ARGS $RUN_PEP8
3232
fi
3333
else
3434
cd doc

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.