From 7e128611d2ba95493ced04a19977955ffaee4bc3 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 29 Oct 2015 16:07:01 +0100 Subject: [PATCH 1/3] Add OSX to travis tests --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index c398bbfe..2d95b941 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +os: + - linux + - osx git: depth: 1 language: python From f9dda4b6b5269109f522f7af647e327f46a8faf5 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 29 Oct 2015 16:16:19 +0100 Subject: [PATCH 2/3] Try manual install of python3 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2d95b941..3ed893d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ git: language: python python: - 3.4 +before_install: + - brew update + - brew install python3 install: - pip install tox script: From 385fa79435a48c36f3064fb32a10a5b8132605d9 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 29 Oct 2015 16:27:02 +0100 Subject: [PATCH 3/3] Use brew only on osx --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3ed893d2..1aed2124 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,8 @@ language: python python: - 3.4 before_install: - - brew update - - brew install python3 + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then; then; brew update; fi + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then; then; brew install python3; fi install: - pip install tox script: