2017-06-17 07:50:34 +02:00
|
|
|
language: python
|
|
|
|
|
2017-09-12 00:40:22 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
language: generic
|
|
|
|
before_install:
|
2017-10-12 00:24:16 +02:00
|
|
|
- brew update
|
2017-09-12 00:40:22 +02:00
|
|
|
- brew install imagemagick
|
|
|
|
- brew install python3
|
2017-09-25 00:51:24 +02:00
|
|
|
- virtualenv env -p python3
|
|
|
|
- source env/bin/activate
|
2017-09-12 00:40:22 +02:00
|
|
|
- os: linux
|
|
|
|
python: 3.5
|
|
|
|
- os: linux
|
|
|
|
python: 3.6
|
|
|
|
|
2017-09-11 00:43:02 +02:00
|
|
|
|
2017-06-27 09:44:29 +02:00
|
|
|
before_install:
|
2017-09-11 00:46:00 +02:00
|
|
|
- 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:
|
2018-01-02 01:20:24 +01:00
|
|
|
- pip install flake8 pylint pyroma
|
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
|
2018-01-02 01:20:24 +01:00
|
|
|
- pyroma .
|
2017-07-24 13:50:09 +02:00
|
|
|
- python setup.py test
|