Using pytest 2.7 for LTS 1.0x to avoid incompatibilities
@@ -95,12 +95,13 @@ matrix:
- os: linux
env: ASTROPY_VERSION=development EVENT_TYPE='pull_request'
- os: linux
- env: PYTHON_VERSION=2.7 ASTROPY_VERSION=lts EVENT_TYPE='push pull_request cron'
+ env: PYTHON_VERSION=2.7 ASTROPY_VERSION=lts
+ EVENT_TYPE='push pull_request cron' PYTEST_VERSION=2.7
# Need to test with python3.5 for now as py3.6 requires pytest3 (due
# to the usage of unittest) that is incompatible with LTS
- os: linux
- env: PYTHON_VERSION=3.5 ASTROPY_VERSION=lts EVENT_TYPE='push pull_request cron'
-
+ env: PYTHON_VERSION=3.5 ASTROPY_VERSION=lts
+ EVENT_TYPE='push pull_request cron' PYTEST_VERSION=2.7
# Try with optional dependencies disabled
- os: linux
