image: python:3.7

before_script:
  - pip install tox

flake8:
  script: tox -e flake8

py3:
  script: tox -e py3
  artifacts:
    paths:
      - py3-deprecated-warnings.json

yamllint:
  rules:
    - changes:
        - "**/*.yaml"
        - "*.yaml"
        - "**/*.yml"
        - "*.yml"
  script:
    - tox -e yamllint
