language: python
cache: pip
python:
    - "3.5"
    - "3.6"

install:
    - pip install .[dev]

# run tests
script:
    - cd tests
    - py.test

language: python
cache: pip
python:
    - "3.5"
    - "3.6"

install:
    - pip install .[dev]

# run tests
script:
    - cd tests
    - py.test

jobs:
  include:
    - stage: compliance
      script: pre-commit run --all-files
stages:
  - compliance
  - test

Add compliance stage to Travis CI
Add compliance stage to Travis CI
