forked from OpenRoberta/robertalab-ev3dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (24 loc) · 969 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
language: python
python:
- 3.4
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y python3-dbus python3-gi
- pidof dbus-daemon || dbus-daemon --system --fork
# pip cannot install python-dbus: https://bugs.freedesktop.org/show_bug.cgi?id=55439
# pip cannot install PyGObject: "Building PyGObject using distutils is only supported on windows."
# coverage<4: https://github.com/travis-ci/travis-ci/issues/4866
install: pip3 install httpretty pycodestyle pyflakes codecov 'coverage<4' Pillow
# this only works with 2.7 and 3.2 on precise and 2.7 and 3.4 on trusty
# we must use this though, since python3-dbus won't work in a virtualenv
virtualenv:
system_site_packages: true
script:
- pycodestyle --max-line-length=120 --exclude=StaticData.py . openrobertalab
- pyflakes . openrobertalab
- ./setup.py build
- nosetests --with-coverage
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
irc: "chat.freenode.net#open-roberta"