ci: Travis: use single install section

This commit is contained in:
Daniel Hahler 2019-02-26 17:06:03 +01:00
parent 7428064f79
commit 4d9296c71f
1 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,7 @@ stages:
python: python:
- '3.7' - '3.7'
install: install:
- pip install --upgrade --pre tox - python -m pip install --upgrade --pre tox
env: env:
matrix: matrix:
- TOXENV=py27 - TOXENV=py27
@ -46,8 +46,6 @@ jobs:
os: osx os: osx
osx_image: xcode10.1 osx_image: xcode10.1
language: generic language: generic
install:
- python -m pip install --pre tox
before_install: before_install:
- python -V - python -V
- test $(python -c 'import sys; print("%d%d" % sys.version_info[0:2])') = 27 - test $(python -c 'import sys; print("%d%d" % sys.version_info[0:2])') = 27