travis: Add macOS testing

This commit is contained in:
dylan araps 2017-09-11 08:43:02 +10:00
parent bb700c4db1
commit dbc655a30c

View File

@ -3,9 +3,15 @@ python:
- "3.5" - "3.5"
- "3.6" - "3.6"
os:
- "linux"
- "osx"
before_install: before_install:
- sudo apt-get -qq update - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- sudo apt-get install -y imagemagick - 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: install:
- pip install flake8 pylint - pip install flake8 pylint