forked from trezor/cython-hidapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (39 loc) · 940 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
42
43
44
45
46
47
48
dist: trusty
language: python
# Runs jobs on container based infrastructure
sudo: false
# Saves pip downloads/wheels between builds
cache:
directories:
- $HOME/.cache/pip
addons:
apt:
packages:
- libhidapi-dev
- libudev-dev
- libusb-1.0-0-dev
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
# Optimisation: build requirements as wheels, which get cached by Travis
- pip install "pip>=8.0" "wheel" "setuptools>=19.0"
- pip install tox-travis
- pip install -r requirements.txt
env:
- EXTRAOPTION=
- EXTRAOPTION=--without-libusb
- EXTRAOPTION=--with-system-hidapi
- EXTRAOPTION=--with-system-hidapi --without-libusb
script:
- python setup.py install $EXTRAOPTION
- tox
notifications:
webhooks:
urls:
- http://ci-bot.satoshilabs.com:5000/travis
on_success: always
on_failure: always
on_start: always