aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-07 22:50:23 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-03-07 22:50:23 +0100
commit41b676e267c2a025012d2cd4264947d746783bfe (patch)
treeff5f1d8e2eb585a9e2431da87509a48424a679f5
parentbcafe3ef16bc3114b842be66cca687850d5183b6 (diff)
downloadblogc-41b676e267c2a025012d2cd4264947d746783bfe.tar.gz
blogc-41b676e267c2a025012d2cd4264947d746783bfe.tar.bz2
blogc-41b676e267c2a025012d2cd4264947d746783bfe.zip
travis: trying to build for windows
-rw-r--r--.travis.yml18
1 files changed, 12 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 38480eb..2788f8d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,8 @@ language: c
addons:
apt:
packages:
+ - gcc-mingw-w64-i686
+ - gcc-mingw-w64-x86-64
- libcmocka-dev
- valgrind
@@ -15,14 +17,18 @@ compiler:
env:
- TARGET=valgrind
- TARGET=distcheck
+ - TARGET=w32
+ - TARGET=w64
+
+matrix:
+ exclude:
+ - compiler: clang
+ env: TARGET=w32
+ - compiler: clang
+ env: TARGET=w64
install: gem install ronn
before_script: ./autogen.sh
-script: |
- mkdir build &&
- pushd build > /dev/null &&
- ../configure CFLAGS="-Wall" --enable-tests --enable-ronn --enable-valgrind --disable-silent-rules &&
- make $TARGET &&
- popd > /dev/null
+script: ./build-aux/build-travis.sh