forked from FrostyX/tracer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 929 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
28
29
30
31
32
33
34
35
36
language: python
dist: trusty
sudo: false
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
addons:
apt:
packages:
- dbus-x11
- libdbus-glib-1-dev
install:
# These first 2 lines are a nasty Travis hack, see https://github.com/travis-ci/travis-ci/issues/653
- sed -i "s|not getvar('Py_ENABLE_SHARED')|True|" /opt/python/3.3.6/bin/python3.3-config || true
- sed -i "s|not getvar('Py_ENABLE_SHARED')|True|" $(which python)-config || true
- PATH=/opt/python/3.3.6/bin/:$PATH pip install -r requirements.txt
- PATH=/opt/python/3.3.6/bin/:$PATH pip install . # See setup.py
- PATH=/opt/python/3.3.6/bin/:$PATH pip install coveralls
script:
- export PYTHONPATH=/opt/python/3.3.6/lib/python3.3/site-packages/
- dbus-launch --exit-with-session nosetests -v -d --with-coverage --cover-package=tracer --cover-inclusive
notifications:
email: false
after_success:
coveralls