pywal/.travis.yml
Matthew Leonberger a560197612 Add OS detection for mac specific tests
Merge branch 'macos_test' of https://github.com/linuxunil/pywal into macos_test

Revert "pylint and flake8 need to be in before_install"

This reverts commit b2320013e7.
2017-09-24 16:48:02 +09:00

28 lines
650 B
YAML

language: python
matrix:
include:
- os: osx
language: generic
before_install:
- brew install imagemagick
- brew install python3
- brew link --overwite python3
- os: linux
python: 3.5
- os: linux
python: 3.6
before_install:
- 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
script:
- flake8 pywal tests setup.py
- pylint pywal tests setup.py
- python setup.py test