From e42f7b8fc951f5d3a45e143fb9b763c7950e69f4 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Mon, 29 Feb 2016 15:31:31 +0800 Subject: [PATCH] OSX build --- .travis.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c44d611..bbb07865 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,9 @@ sudo: false os: - linux - # - osx env: global: - - NEWEST_PYTHON=3.4 + - NEWEST_PYTHON=3.4 language: python python: - 2.6 @@ -14,7 +13,14 @@ python: - 3.3 - 3.4 - pypy3 + +matrix: + include: + # https://docs.travis-ci.com/user/multi-os/#Python-example-(unsupported-languages) + - os: osx + language: generic + script: - make after_success: - - if [[ $TRAVIS_PYTHON_VERSION == $NEWEST_PYTHON ]]; then pip install python-coveralls && coveralls; fi + - [[ $TRAVIS_PYTHON_VERSION == $NEWEST_PYTHON && $TRAVIS_OS_NAME == 'linux']] && pip install python-coveralls && coveralls