summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2019-08-17 19:19:59 -0600
committerCharles Harris <charlesr.harris@gmail.com>2019-08-17 22:06:02 -0600
commitbb257bd058997c903c454f17402f553664159c82 (patch)
tree996dc8c0214699ddb1fa4b1a8bd0c29f2314537c
parent37e3f609259e8ac381ae9b2b4e5e8f340172b9f0 (diff)
downloadnumpy-bb257bd058997c903c454f17402f553664159c82.tar.gz
TST: Pin pytest and use python3.6-dbg.
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.
-rw-r--r--.travis.yml5
-rwxr-xr-xtools/travis-before-install.sh2
2 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 39787104e..16bea0e1d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,6 @@ addons:
apt:
packages: &common_packages
- gfortran
- - libatlas-dev
- libatlas-base-dev
# Speedup builds, particularly when USE_CHROOT=1
- eatmydata
@@ -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:
diff --git a/tools/travis-before-install.sh b/tools/travis-before-install.sh
index 448273db0..c0f8ef807 100755
--- a/tools/travis-before-install.sh
+++ b/tools/travis-before-install.sh
@@ -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