2019-08-12 10:58:28 +02:00
|
|
|
sudo: false
|
|
|
|
dist: xenial
|
|
|
|
language: python
|
|
|
|
|
2020-02-02 20:08:56 +01:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2019-08-12 10:58:28 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: 3.5
|
2020-02-02 20:08:56 +01:00
|
|
|
env: TOXENV=pytest
|
2019-08-12 10:58:28 +02:00
|
|
|
- python: 3.6
|
2020-02-02 20:08:56 +01:00
|
|
|
env: TOXENV=pytest
|
2019-08-12 10:58:28 +02:00
|
|
|
- python: 3.7
|
2020-02-02 20:08:56 +01:00
|
|
|
env: TOXENV=pytest
|
2019-08-12 10:58:28 +02:00
|
|
|
- python: pypy3
|
2020-02-02 20:08:56 +01:00
|
|
|
env: TOXENV=pytest
|
2019-08-12 10:58:28 +02:00
|
|
|
- python: 3.5
|
2020-02-02 20:08:56 +01:00
|
|
|
env: TOXENV=flake8
|
2019-08-12 10:58:28 +02:00
|
|
|
- python: 3.7
|
2020-02-02 20:08:56 +01:00
|
|
|
env: TOXENV=flake8
|
2019-08-12 10:58:28 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install tox
|
2020-02-02 20:08:56 +01:00
|
|
|
- if [[ $TOXENV == pytest ]]; then pip install coveralls; fi
|
2019-08-12 10:58:28 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
- tox
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
after_success:
|
2020-02-02 20:08:56 +01:00
|
|
|
- if [[ $TOXENV == pytest ]]; then coveralls; fi
|