mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 14:58:09 +00:00
34 lines
556 B
YAML
34 lines
556 B
YAML
language: python
|
|
|
|
# Runs jobs on container based infrastructure
|
|
sudo: false
|
|
|
|
# Saves pip downloads/wheels between builds
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libudev-dev
|
|
- libusb-1.0-0-dev
|
|
|
|
python:
|
|
- "2.6"
|
|
- "2.7"
|
|
- "3.2"
|
|
- "3.3"
|
|
- "3.4"
|
|
- "3.5"
|
|
|
|
before_install:
|
|
- pip install setuptools --upgrade
|
|
|
|
install:
|
|
# Optimisation: build requirements as wheels, which get cached by Travis
|
|
- pip install "pip>=7.0" wheel
|
|
|
|
script:
|
|
- python setup.py install
|