--- /dev/null
+set -e
+set -x
+
+# Install packages with brew
+brew update >/dev/null
+brew outdated pyenv || brew upgrade --quiet pyenv
+
+# Install required python version for this build
+pyenv install -ks $PYTHON_VERSION
+pyenv global $PYTHON_VERSION
+python --version
language: python
-python:
- - "2.6"
- - "2.7"
- - "pypy"
- - "3.3"
- - "3.4"
+sudo: false
+
+cache: false
+
+matrix:
+ include:
+ - os: linux
+ python: 2.6
+ - os: linux
+ python: 2.7
+ - os: linux
+ python: pypy
+ - os: linux
+ python: 3.3
+ - os: linux
+ python: 3.4
+ - os: osx
+ language: generic
+ env:
+ - PYTHON_VERSION=2.6.6
+ - PYENV_ROOT=~/.pyenv
+ - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
+ - os: osx
+ language: generic
+ env:
+ - PYTHON_VERSION=2.7.10
+ - PYENV_ROOT=~/.pyenv
+ - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
+ - os: osx
+ language: generic
+ env:
+ - PYTHON_VERSION=pypy-2.6.0
+ - PYENV_ROOT=~/.pyenv
+ - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
+ - os: osx
+ language: generic
+ env:
+ - PYTHON_VERSION=3.3.6
+ - PYENV_ROOT=~/.pyenv
+ - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
+ - os: osx
+ language: generic
+ env:
+ - PYTHON_VERSION=3.4.3
+ - PYENV_ROOT=~/.pyenv
+ - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
install:
+ - bash .ci/deps.${TRAVIS_OS_NAME}.sh
- pip install --upgrade pip
- pip install pytest pytest-cov
- pip install --editable .
script:
- make test-cov
- - bash <(curl -s https://codecov.io/bash)
+ - bash .ci/deploy.${TRAVIS_OS_NAME}.sh
notifications:
email: false