aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-09-28 09:00:45 +1000
committerGitHub <[email protected]>2017-09-28 09:00:45 +1000
commit4684d04083af23449cf1003272f8a18bb9c18dfd (patch)
tree8774b692af54320d5674e8076a518c28098d5980 /.travis.yml
parentMerge pull request #117 from linuxunil/syntax-errors (diff)
parentMerge pull request #113 from linuxunil/hotfix/unittests (diff)
downloadpywal-4684d04083af23449cf1003272f8a18bb9c18dfd.tar.xz
pywal-4684d04083af23449cf1003272f8a18bb9c18dfd.zip
Merge pull request #103 from dylanaraps/macos_test
travis: Add macOS testing
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 17 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 1c9b3d8..97204bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,23 @@
language: python
-python:
- - "3.5"
- - "3.6"
+
+matrix:
+ include:
+ - os: osx
+ language: generic
+ before_install:
+ - brew install imagemagick
+ - brew install python3
+ - virtualenv env -p python3
+ - source env/bin/activate
+ - os: linux
+ python: 3.5
+ - os: linux
+ python: 3.6
+
before_install:
- - sudo apt-get -qq update
- - sudo apt-get install -y imagemagick
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y imagemagick; fi
install:
- pip install flake8 pylint