From adecb0bf690d667ec6c7f18254f372a0613be1d9 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 19 Apr 2013 11:49:30 +0200 Subject: [PATCH] try to fix travis windows build --- .travis.yml | 4 ++-- build-and-test.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5