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 ea46243

Browse filesBrowse files
committed
MAINT remove py.test from our travis build
1 parent ec86c01 commit ea46243
Copy full SHA for ea46243

File tree

Expand file treeCollapse file tree

2 files changed

+4
-10
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-10
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ env:
4848
- PYTEST_ARGS="-ra --maxfail=1 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
4949
- PYTHON_ARGS=
5050
- DELETE_FONT_CACHE=
51-
- USE_PYTEST=false
5251

5352
matrix:
5453
include:
@@ -61,7 +60,7 @@ matrix:
6160
- python: 3.5
6261
env: BUILD_DOCS=true
6362
- python: 3.6
64-
env: USE_PYTEST=true DELETE_FONT_CACHE=1 INSTALL_PEP8=pytest-pep8 RUN_PEP8=--pep8
63+
env: DELETE_FONT_CACHE=1 INSTALL_PEP8=pytest-pep8 RUN_PEP8=--pep8
6564
- python: "nightly"
6665
env: PRE=--pre
6766
- os: osx
@@ -80,7 +79,6 @@ matrix:
8079
- $HOME/.cache/matplotlib
8180
allow_failures:
8281
- python: "nightly"
83-
- python: 2.7
8482

8583
before_install:
8684
- |

‎ci/travis/test_script.sh

Copy file name to clipboardExpand all lines: ci/travis/test_script.sh
+3-7Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,10 @@ if [[ $BUILD_DOCS == false ]]; then
2323
echo PYTHONHASHSEED=$PYTHONHASHSEED
2424

2525
echo The following args are passed to pytest $PYTEST_ARGS $RUN_PEP8
26-
if [[ $USE_PYTEST == false ]]; then
27-
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
28-
python tests.py $PYTEST_ARGS $RUN_PEP8
29-
else
30-
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS tests.py $PYTEST_ARGS $RUN_PEP8
31-
fi
26+
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
27+
python tests.py $PYTEST_ARGS $RUN_PEP8
3228
else
33-
py.test $PYTEST_ARGS $RUN_PEP8
29+
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS tests.py $PYTEST_ARGS $RUN_PEP8
3430
fi
3531
else
3632
cd doc

0 commit comments

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