aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan araps <[email protected]>2017-09-11 08:43:02 +1000
committerdylan araps <[email protected]>2017-09-11 08:43:02 +1000
commitdbc655a30c7da9dd45a47b7ded3cc88d6345cb32 (patch)
tree983efad0b8e49f8d98296a4a65ffe7208a353c05
parentversion: bump (diff)
downloadpywal-dbc655a30c7da9dd45a47b7ded3cc88d6345cb32.tar.xz
pywal-dbc655a30c7da9dd45a47b7ded3cc88d6345cb32.zip
travis: Add macOS testing
-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