forked from ukBaz/python-bluezero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·41 lines (40 loc) · 1019 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
37
38
39
40
41
language: python
sudo: required
# look at https://github.com/pypa/pip for examples?
# https://docs.travis-ci.com/user/multi-os/
python:
- "2.7"
- "3.2"
virtualenv:
system_site_packages: true
# matrix:
# include:
# - python: 2.7
# env: PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/dist-packages"
# - python: 3.3
# env: PYTHONPATH="$PYTHONPATH:/usr/lib/python3/dist-packages"
# addons:
# apt:
# packages:
# - python-dbus
# - python3-dbus
# - python-gi
# - python3-gi
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-dbus python3-dbus python-gi python3-gi
install:
# - pip install --upgrade pip
- pip install pep8
- pip install python-dbusmock
before_script:
# - .travis/setup.sh
# - echo "Travis Python Version ***********"
# - echo $TRAVIS_PYTHON_VERSION
# - echo $PYTHONPATH
script:
- python -m unittest -v tests.test_url_to_hex
after_success:
- "pep8 bluezero"
- "pep8 --ignore=E402 examples"
- "pep8 tests"