Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
Use macOS's shipped Python 3 on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rpkilby committed Mar 29, 2019
1 parent 94edce3 commit faf18df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ matrix:
include:
- os: osx
language: generic
env: TOXENV=py37
env: TOXENV=py36

- python: 3.7
env: TOXENV="isort,lint,coverage"
Expand All @@ -29,7 +29,10 @@ matrix:

before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew upgrade python;
# We don't need to get the latest version of Python 3 on macOS. While it
# would be nice, the 5-10 minutes it takes to update Homebrew and upgrade
# the various dependent packages, means that it's not worth it.
# brew upgrade python;
python3 -m venv venv;
source venv/bin/activate;
fi
Expand Down

0 comments on commit faf18df

Please sign in to comment.