blob: 94685a428d6789969085585aef8f5f1f38cc78c2 [file] [log] [blame]
os: linux
arch:
- amd64
- ppc64le
language: python
python:
- "2.7"
- "3.4"
- "3.8"
- "pypy"
- "pypy3"
jobs:
exclude:
- arch : ppc64le
python : pypy
- arch : ppc64le
python : pypy3
addons:
apt:
packages:
- libusb-1.0-0
- libudev-dev
- doxygen
sources:
- ubuntu-toolchain-r-test
# Note: "doxygen" actually comes from "apt-get build-deps libusb-1.0-0", but
# there is no direct travis equivalent.
before_script:
- ./buildTestLibusb.sh https://github.com/libusb/libusb.git libusb.git master v1.0.19 v1.0.22
install: pip install .
script: python -m usb1.testUSB1
env:
- LD_LIBRARY_PATH=
- LD_LIBRARY_PATH=test-libusb/build/libusb.git/master/lib
# Debian jessie (oldoldstable)
- LD_LIBRARY_PATH=test-libusb/build/libusb.git/v1.0.19/lib
# Debian buster (stable)
- LD_LIBRARY_PATH=test-libusb/build/libusb.git/v1.0.22/lib