add travis stuff

This commit is contained in:
Klas Lindfors
2014-02-11 09:41:14 +01:00
parent 4bf4537425
commit 52bbd76d1a
2 changed files with 39 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
set -e
set -x
autoreconf -i
if [ "x$LIBUSB" = "xwindows" ]; then
./configure
touch ChangeLog
make dist
if [ "x$ARCH" = "x32" ]; then
export CC=i686-w64-mingw32-gcc
else
export CC=x86_64-w64-mingw32-gcc
fi
make -f windows.mk ${ARCH}bit `grep ^VERSION Makefile|sed 's/ = /=/'`
else
./configure
make check
fi