forked from pwithnall/dbus-deviation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 820 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
# Disabled due to lxml 3.5.0 not working with PyPy:
# See: https://bitbucket.org/pypy/compatibility/wiki/lxml
# - "pypy"
# Disabled due to bugs in the logilab package on the Python 3.2 build slave.
# See: https://travis-ci.org/pwithnall/dbus-deviation/jobs/60500460
# - "3.2"
# command to install dependencies
install:
- pip install pylint coverage coveralls codecov .
# command to run tests
script:
- coverage run --source dbusapi,dbusdeviation --omit 'dbusdeviation/utilities/*' setup.py test
- coverage report --fail-under=70
- python setup.py check
- python setup.py pep8
- pylint --errors-only dbusapi
- pylint --errors-only dbusdeviation
# Submit coverage data to coveralls.io and codecov.io
after_success:
- coveralls
- codecov