diff options
| author | dylan araps <dylan.araps@gmail.com> | 2017-09-12 08:40:22 +1000 |
|---|---|---|
| committer | dylan araps <dylan.araps@gmail.com> | 2017-09-12 08:40:22 +1000 |
| commit | 50c6ba020572f438aa608035224cc3de73f0e2ee (patch) | |
| tree | f9a935db8c6717e2d324b4f9c516b4277e519868 | |
| parent | 7e8f7c2620be08664685550936da8eace1a7cbad (diff) | |
travis: Fix macOS
| -rw-r--r-- | .travis.yml | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index d136a5f..2ec3221 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,22 @@ language: python -python: - - "3.5" - - "3.6" -os: - - "linux" - - "osx" +matrix: + include: + - os: osx + language: generic + before_install: + - brew update + - 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: - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo brew update; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo brew install imagemagick; fi - 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 |
