Skip to content

Commit

Permalink
TST: Pin pytest and use python3.6-dbg.
Browse files Browse the repository at this point in the history
Pytest-5.1.0 segfaults on python3.5-dbg. Because we will be
dropping 3.5 for NumPy 1.18 we might as well use Python3.6
for the debug testing. That cures the previous segfault,
but exposes another so we also pin pytest to 5.0.1.
  • Loading branch information
charris committed Aug 18, 2019
1 parent 37e3f60 commit bb257bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ addons:
apt:
packages: &common_packages
- gfortran
- libatlas-dev
- libatlas-base-dev
# Speedup builds, particularly when USE_CHROOT=1
- eatmydata
Expand All @@ -33,12 +32,14 @@ env:
python:
- 3.5
- 3.6
- 3.7
- 3.8-dev
matrix:
include:
- python: 3.7
env: INSTALL_PICKLE5=1
- python: 3.5
- python: 3.6
dist: bionic
env: USE_DEBUG=1
addons:
apt:
Expand Down
2 changes: 1 addition & 1 deletion tools/travis-before-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ fi


pip install --upgrade pip setuptools
pip install pytz cython pytest
pip install pytz cython pytest==5.0.1
if [ -n "$USE_ASV" ]; then pip install asv; fi
popd

0 comments on commit bb257bd

Please sign in to comment.