From: Klas Lindfors Date: Fri, 19 Apr 2013 09:49:30 +0000 (+0200) Subject: try to fix travis windows build X-Git-Tag: v1.13.0~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adecb0bf690d667ec6c7f18254f372a0613be1d9;p=yubikey-personalization try to fix travis windows build --- diff --git a/.travis.yml b/.travis.yml index 2bfac09..948647d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ env: script: - ./build-and-test.sh before_install: - - sudo apt-get update; sudo apt-get install -qq libyubikey-dev libjson0-dev $EXTRA + - sudo apt-get update; sudo apt-get remove -qq $REMOVE; sudo apt-get install -qq libyubikey-dev libjson0-dev $EXTRA matrix: include: - compiler: gcc - env: LIBUSB=windows EXTRA=wine + env: LIBUSB=windows EXTRA="wine mingw-w64" REMOVE=mingw32 diff --git a/build-and-test.sh b/build-and-test.sh index fa7e16c..8e4b8c7 100755 --- a/build-and-test.sh +++ b/build-and-test.sh @@ -9,7 +9,7 @@ if [ "x$LIBUSB" = "xwindows" ]; then ./configure --with-backend=stub touch ChangeLog make dist - make -f ykpers4win.mk ykpers4win32mingw32 `grep ^VERSION Makefile|sed 's/ = /=/'` + make -f ykpers4win.mk ykpers4win32 `grep ^VERSION Makefile|sed 's/ = /=/'` else ./configure --with-backend=$LIBUSB make check