2017-11-25 22:51:46 +01:00
|
|
|
language: python
|
2017-12-03 08:00:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: "2.7"
|
|
|
|
env: TOXENV=py27
|
|
|
|
- python: "3.4"
|
|
|
|
env: TOXENV=py34
|
|
|
|
- python: "3.5"
|
|
|
|
env: TOXENV=py35
|
|
|
|
- python: "3.6"
|
|
|
|
env: TOXENV=py36
|
2018-09-06 04:55:16 +02:00
|
|
|
- python: "3.7"
|
|
|
|
dist: xenial
|
|
|
|
env: TOXENV=py37
|
2017-12-03 08:00:23 +01:00
|
|
|
- python: "pypy2.7-5.8.0"
|
|
|
|
env: TOXENV=pypy
|
|
|
|
- python: "pypy3.5-5.8.0"
|
2019-01-29 12:41:59 +01:00
|
|
|
env: TOXENV=pypy3
|
2017-12-03 08:00:23 +01:00
|
|
|
|
2017-11-25 22:51:46 +01:00
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install .
|
2019-01-29 12:41:59 +01:00
|
|
|
- pip install codecov tox
|
2017-12-03 08:00:23 +01:00
|
|
|
- pip install -r dev-requirements.txt
|
2017-11-25 22:51:46 +01:00
|
|
|
- pip install -r requirements.txt
|
|
|
|
|
2017-12-03 08:00:23 +01:00
|
|
|
|
2019-01-29 12:41:59 +01:00
|
|
|
# run tests
|
|
|
|
script:
|
|
|
|
- tox
|
2017-12-03 08:00:23 +01:00
|
|
|
|
|
|
|
|
2017-11-25 22:51:46 +01:00
|
|
|
after_success:
|
2017-12-03 08:00:23 +01:00
|
|
|
- tox -e coverage-report
|
|
|
|
- codecov
|
|
|
|
|
2017-11-25 22:51:46 +01:00
|
|
|
|
2017-12-03 08:00:23 +01:00
|
|
|
notifications:
|
|
|
|
email: false
|