Skip to content

Commit d21ced4

Browse files
committed
MAINT remove py.test from our travis build
1 parent 76a4235 commit d21ced4

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.travis.yml

+1-3
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

+3-7
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)