Skip to content

Commit

Permalink
Use macpython everywhere. (#62)
Browse files Browse the repository at this point in the history
* Use macpython everywhere.

Add 3.6 for mac.

See zopefoundation/persistent#59

* Manually install persistent for travis.

* plain pypy3 is python 3.2 which won't run newer setuptools
  • Loading branch information
jamadden committed Jan 18, 2017
1 parent be6b95c commit f4531e4
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .travis.yml
Expand Up @@ -15,22 +15,35 @@ matrix:
- os: linux
python: pypy
- os: linux
python: pypy3
python: pypy3.3-5.2-alpha1
# It's important to use 'macpython' builds to get the least
# restrictive wheel tag. It's also important to avoid
# 'homebrew 3' because it floats instead of being a specific version.
- os: osx
language: generic
env: TERRYFY_PYTHON='homebrew 2'
env: TERRYFY_PYTHON='macpython 2.7'
- os: osx
language: generic
env: TERRYFY_PYTHON='macpython 3.4'
- os: osx
language: generic
env: TERRYFY_PYTHON='homebrew 3'
env: TERRYFY_PYTHON='macpython 3.5'
- os: osx
language: generic
env: TERRYFY_PYTHON='macpython 3.6.0'
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git clone https://github.com/MacPython/terryfy; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source terryfy/travis_tools.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment $TERRYFY_PYTHON venv; fi
- if [[ "$TERRYFY_PYTHON" == "homebrew 3" ]]; then alias pip=`which pip3` ; fi
install:
- pip install -U pip setuptools
# persistent is a setup_requires, which gets downloaded by
# setuptools, not pip. But macpython 3.6.0 setuptools has trouble with SSL on
# Travis CI
# (https://travis-ci.org/zopefoundation/BTrees/jobs/192340692) so
# we install with pip manually.
- pip install -U persistent
- pip install -e .[ZODB]
script:
- python setup.py -q test -q
Expand All @@ -50,3 +63,5 @@ after_success:
env:
global:
secure: "Oh5gRJ+Fo8ZNmCkdrffpx201EPyTr9iUXmv6VqJMTebrzQpFdSWUVcANRmAzyfdyk3Wo0IjifVfWsKc+hvtbFmXZiLRFyEgoCUmzeWVumjebg2xxm0PbFHcRQgl4daBXxB0iqWkP8wXZ3daytuL74sYcbHizMYyhc7AxFbANsZc="

cache: pip

0 comments on commit f4531e4

Please sign in to comment.