aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 5b43ff32d8e0523bc592a83336381b1022da2326 (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
dist: xenial
language: python
python:
  - "2.7"
  - "3.7"
cache: pip

install:
  - pip install pipenv
  - pipenv install --dev --system

before_script:
  # stop the build if there are Python syntax errors or undefined names
  - flake8 .
  # exit-zero treats all errors as warnings.
  - flake8 . --exit-zero --select=C,E,F,W

script:
  - pytest

notifications:
  irc: "chat.freenode.net#wee-slack-dev"
  email: false