dist: xenial
language: python

services:
  # to be able to display
  - xvfb

before_install:
  - sudo apt-get update

matrix:
  include:

    - python: 3.6
      env: TOXENV=py36-pyqt5
    - python: 3.6
      env: TOXENV=py36-pyside2
    - python: 3.8
      env: TOXENV=py38-pyqt5
    - python: 3.8
      env: TOXENV=py38-pyside2

    - python: 3.8
      env: TOXENV=py38-lint
    - python: 3.8
      env: TOXENV=py38-safety
    - python: 3.8
      env: TOXENV=py38-metric
    - python: 3.8
      env: TOXENV=py38-develop

    - python: 3.8
      env: TOXENV=py38-pyqt5-doc

    - python: 3.8
      env: TOXENV=py38-release
      


install:
  # to make sure it has everything up to date
  - python -V
  - python -m ensurepip
  - python -m pip install -U pip
  - python -m pip install -U setuptools
  - python -m pip install -U wheel
  - python -m pip install -U virtualenv
  - python -m pip install -U tox

script:
  - tox
