2017-11-25 22:51:46 +01:00
|
|
|
language: python
|
2017-12-03 08:00:23 +01:00
|
|
|
|
2019-02-03 07:39:14 +01:00
|
|
|
dist: xenial
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libdbus-1-dev
|
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"
|
|
|
|
env: TOXENV=py37
|
2019-02-03 07:39:14 +01:00
|
|
|
- python: "pypy2.7-6.0"
|
2017-12-03 08:00:23 +01:00
|
|
|
env: TOXENV=pypy
|
2019-02-03 07:39:14 +01:00
|
|
|
- python: "pypy3.5-6.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:
|
2019-05-30 02:07:05 +02:00
|
|
|
- pip install babel
|
2017-11-25 22:51:46 +01:00
|
|
|
- pip install .
|
2019-02-18 05:28:37 +01:00
|
|
|
- pip install codecov
|
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
|
2019-02-03 07:39:14 +01:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then travis_retry pip install dbus-python; fi
|
2017-11-25 22:51:46 +01:00
|
|
|
|
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
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|