From e508c631f2fd0d89d23938d794435951d9888876 Mon Sep 17 00:00:00 2001 From: Matthew Leather <39400458+matthew16550@users.noreply.github.com> Date: Sat, 8 Sep 2018 05:08:37 +1200 Subject: [PATCH] Fix Tox using different Python than expected on macOS (#688) (#706) --- .travis.yml | 2 +- tox.ini | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4ad14764..618fc4f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ matrix: language: generic env: # Stock OSX Python - - TOXENV=py27 + - TOXENV=py27-osx-builtin - BREW_PYTHON_PACKAGE= - os: osx language: generic diff --git a/tox.ini b/tox.ini index 8c888ed4..c394120e 100644 --- a/tox.ini +++ b/tox.ini @@ -21,3 +21,6 @@ commands = --verbose \ --doctest-modules \ {posargs:./httpie ./tests} + +[testenv:py27-osx-builtin] +basepython = /usr/bin/python2.7