sudo: required

dist: stretch

language: python

python:
  - "2.7"
  - "3.6"
  - "3.7"
  - "3.8"

before_install:
  - pip install docutils
  - pip install -r requirements.txt
  - pip install flake8

script:
  - flake8 law || exit $?
  - python -m unittest tests

sudo: required

dist: stretch

language: python

python:
  - "2.7"
  - "3.6"
  - "3.7"
  - "3.8"

before_install:
  - pip install docutils
  - pip install -r requirements.txt
  - pip install flake8

script:
  - flake8 law setup.py || exit $?
  - python -m unittest tests

Include setup.py in linting tests.
Include setup.py in linting tests.
