-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy path.travis.yml
22 lines (22 loc) · 932 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
language: python
python:
- "2.7"
before_install:
- pip install -U setuptools
- sudo add-apt-repository -y ppa:pyside/ppa
- sudo apt-get update -qq
- sudo apt-get install -qq libusb-dev python-pyside libffi-dev libjpeg8-dev libudev-dev libusb-1.0-0-dev python-dbus liblua5.2-dev libusb-dev
- ln -s /usr/lib/python2.7/dist-packages/PySide /usr/lib/python2.7/dist-packages/*dbus* ~/virtualenv/python2.7/lib/python2.7/site-packages/
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
install:
- pip install lupa --install-option='--no-luajit'
- pip install cffi flake8 pyflakes pep8-naming
- pip install -e ".[web,hidtrigger,autorotate,chdkcamera]"
- pip install -r test-requirements.txt
- pip install -e .
script:
- flake8 spreads spreadsplug tests --exclude=vendor
- py.test --cov spreads --cov spreadsplug -m "not guitest" tests
after_success: coveralls