Skip to content

Commit

Permalink
Update travis matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
vxgmichel committed Feb 13, 2019
1 parent ec8327c commit a94cb5f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 10 deletions.
9 changes: 9 additions & 0 deletions .travis-osx-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
curl -Lo macpython.pkg https://www.python.org/ftp/python/${MACPYTHON}/python-${MACPYTHON}-macosx10.6.pkg
sudo installer -pkg macpython.pkg -target /
ls /Library/Frameworks/Python.framework/Versions/*/bin/
PYTHON_EXE=/Library/Frameworks/Python.framework/Versions/*/bin/python3
sudo $PYTHON_EXE -m pip install -U pip setuptools
sudo $PYTHON_EXE -m pip install virtualenv
$PYTHON_EXE -m virtualenv testenv
source testenv/bin/activate
46 changes: 36 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,42 @@
os: linux
dist: xenial
language: python

python:
- 3.5
- pypy3.5
- 3.6
- 3.7
- 3.8-dev

matrix:
include:
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
sudo: true
- python: 3.8-dev
dist: xenial
sudo: true
include:
# Linux - 3.4
- os: linux
dist: trusty
language: python
python: 3.4
# OSX - 3.4
- os: osx
language: generic
env: MACPYTHON=3.4.4
before_install: source .travis-osx-install
# OSX - 3.5
- os: osx
language: generic
env: MACPYTHON=3.5.4
before_install: source .travis-osx-install
# OSX - 3.6
- os: osx
language: generic
env: MACPYTHON=3.6.8
before_install: source .travis-osx-install
# OSX - 3.7
- os: osx
language: generic
env: MACPYTHON=3.7.2
before_install: source .travis-osx-install


install: pip install -U coveralls pytest
script: python setup.py test
Expand Down

0 comments on commit a94cb5f

Please sign in to comment.