summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 97204bc31271f2713f67e11dbfa384b32b16e850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: python

matrix:
    include:
        - os: osx
          language: generic
          before_install:
              - 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" == "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