pywal/.travis.yml
2018-03-04 08:35:29 +11:00

31 lines
736 B
YAML

language: python
matrix:
include:
- os: osx
language: generic
before_install:
- brew update
- brew install imagemagick
- brew upgrade python
- virtualenv env -p python3
- source env/bin/activate
- 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 pyroma
script:
- flake8 pywal tests setup.py
- pylint pywal tests setup.py
- pyroma .
- python setup.py test