aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 2ec3221cbf690d4bdb42168e5d6f85a2bf131fae (plain) (blame)
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
29
language: python

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