2015-12-21 19:42:33 +00:00
|
|
|
language: python
|
|
|
|
|
|
|
|
# Runs jobs on container based infrastructure
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
# Saves pip downloads/wheels between builds
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
2016-01-19 21:55:50 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libudev-dev
|
|
|
|
- libusb-1.0-0-dev
|
|
|
|
|
2015-12-21 19:42:33 +00:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
2016-01-19 21:35:02 +00:00
|
|
|
- "3.5"
|
2015-12-21 19:42:33 +00:00
|
|
|
|
2016-01-19 21:55:50 +00:00
|
|
|
before_install:
|
|
|
|
- pip install setuptools --upgrade
|
|
|
|
|
2015-12-21 19:42:33 +00:00
|
|
|
install:
|
|
|
|
# Optimisation: build requirements as wheels, which get cached by Travis
|
|
|
|
- pip install "pip>=7.0" wheel
|
|
|
|
|
|
|
|
script:
|
|
|
|
- python setup.py install
|