Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

Commit

Permalink
fixup! fixup! fixup! fixup! Install compatible versions of Python on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
HexDecimal committed Feb 10, 2017
1 parent 06de274 commit 3314a74
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,19 @@ matrix:
include:
- os: osx
language: generic
python: "2"
env: MB_PYTHON_VERSION=2.7.13
- os: osx
language: generic
env: MB_PYTHON_VERSION=3.3.5
- os: osx
language: generic
env: PYPY_VERSION=5.4.1
- os: osx
language: generic
env: PYPY3_VERSION=5.5.0-alpha
- os: osx
language: generic
env: PYPY_VERSION=5.6.0

fast_finish: true

Expand All @@ -25,7 +36,6 @@ addons:
before_install:
- 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi'
- 'if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi'
- set -x
- source .travis/install_python.sh
- pip install --upgrade pip setuptools wheel
- 'if [[ "$TRAVIS_PYTHON_VERSION" == pypy* ]]; then pip install git+https://bitbucket.org/pypy/numpy.git; fi'
Expand Down
1 change: 1 addition & 0 deletions .travis/install_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ set -e
shell_session_update() { :; }

MACPYTHON_URL=https://www.python.org/ftp/python
PYPY_URL=https://bitbucket.org/pypy/pypy/downloads
MACPYTHON_PY_PREFIX=/Library/Frameworks/Python.framework/Versions
WORKING_SDIR=working
DOWNLOADS_SDIR=/tmp
Expand Down

0 comments on commit 3314a74

Please sign in to comment.