mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
travis: Fix macOS
This commit is contained in:
parent
7e8f7c2620
commit
50c6ba0205
23
.travis.yml
23
.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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user