2017-06-17 07:50:34 +02:00
|
|
|
language: python
|
|
|
|
python:
|
2017-08-09 16:41:02 +02:00
|
|
|
- "3.5"
|
2017-06-17 07:50:34 +02:00
|
|
|
- "3.6"
|
|
|
|
|
2017-09-11 00:43:02 +02:00
|
|
|
os:
|
|
|
|
- "linux"
|
|
|
|
- "osx"
|
|
|
|
|
2017-06-27 09:44:29 +02:00
|
|
|
before_install:
|
2017-09-11 00:46:00 +02:00
|
|
|
- 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
|
2017-06-27 09:44:29 +02:00
|
|
|
|
2017-06-17 07:50:34 +02:00
|
|
|
install:
|
2017-07-24 13:50:09 +02:00
|
|
|
- pip install flake8 pylint
|
2017-06-17 07:50:34 +02:00
|
|
|
|
|
|
|
script:
|
2017-06-27 09:34:34 +02:00
|
|
|
- flake8 pywal tests setup.py
|
2017-07-22 11:12:45 +02:00
|
|
|
- pylint pywal tests setup.py
|
2017-07-24 13:50:09 +02:00
|
|
|
- python setup.py test
|