summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authordylan araps <dylan.araps@gmail.com>2017-09-11 08:43:02 +1000
committerdylan araps <dylan.araps@gmail.com>2017-09-11 08:43:02 +1000
commitdbc655a30c7da9dd45a47b7ded3cc88d6345cb32 (patch)
tree983efad0b8e49f8d98296a4a65ffe7208a353c05 /.travis.yml
parentbb700c4db19a311ce2ec60197761fdfd7e9d0f6e (diff)
travis: Add macOS testing
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 1c9b3d8..efa3271 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,9 +3,15 @@ python:
- "3.5"
- "3.6"
+os:
+ - "linux"
+ - "osx"
+
before_install:
- - sudo apt-get -qq update
- - sudo apt-get install -y imagemagick
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install imagemagick; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; sudo apt-get -qq update; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; sudo apt-get install -y imagemagick; fi
install:
- pip install flake8 pylint