os: linux
language: python
python: "3.7"

addons:
  apt:
    packages:
      libdbus-glib-1-dev
      tox

branches:
    only:
      - master
      - develop-2.0.1

matrix:
  include:
    - name: "run pylint"
      env: TASK=lint
    - name: "check formatting"
      install: pip install black==19.3b0 isort==4.3.4
      env: TASK=fmt-travis
    - name: "run tests that do not require stratisd"
      env: TASK=test-travis

script: make -f Makefile $TASK

os: linux
language: python

addons:
  apt:
    packages:
      libdbus-glib-1-dev
      tox

branches:
    only:
      - master
      - develop-2.0.1

matrix:
  include:

    # MANDATORY CHECKS USING CURRENT DEVELOPMENT INTERPRETER
    - name: "run pylint using Python 3.7.6"
      python: "3.7.6"
      env: TASK=lint
    - name: "check formatting using Python 3.7.6"
      python: "3.7.6"
      install: pip install black==19.3b0 isort==4.3.4
      env: TASK=fmt-travis
    - name: "run tests that do not require stratisd using Python 3.7.6"
      python: "3.7.6"
      env: TASK=test-travis

    # MANDATORY CHECKS USING LOWEST SUPPORTED INTERPRETER
    - name: "run tests that do not require stratisd using Python 3.6.8"
      python: "3.6.8"
      env: TASK=test-travis

script: make -f Makefile $TASK

Split up the checks using concepts similar to those for stratisd
Split up the checks using concepts similar to those for stratisd

Use a "current development interpreter" and a
"lowest supported interpreter".

Signed-off-by: mulhern <7b51bcf507bcd7afb72bf8663752c0ddbeb517f6@redhat.com>
