]> err.no Git - yubikey-personalization/commitdiff
build with different backends
authorKlas Lindfors <klas@yubico.com>
Thu, 13 Sep 2012 07:57:27 +0000 (09:57 +0200)
committerKlas Lindfors <klas@yubico.com>
Thu, 13 Sep 2012 07:57:27 +0000 (09:57 +0200)
.travis.yml

index 3bd449300f3c1b9df54d4627e13ebf0406c1a58e..4156094be9eb9ef5373d861a6f3046337349b0b5 100644 (file)
@@ -2,7 +2,10 @@ language: c
 compiler:
   - gcc
   - clang
-script: autoreconf -i && ./configure && make check
+env:
+  - LIBUSB=libusb
+  - LIBUSB=libusb-1.0
+script: autoreconf -i && ./configure --with-backend=$LIBUSB && make check
 before_install:
   - sudo apt-get update -qq
-  - sudo apt-get install -qq libyubikey-dev
+  - sudo apt-get install -qq libyubikey-dev libusb-1.0-0-dev libusb-dev