From 4e67034d5ab092b41e2eb9683cd20348fc004308 Mon Sep 17 00:00:00 2001 From: hairball Date: Mon, 10 Feb 2014 10:35:01 +0000 Subject: [PATCH] Add support for x86_64 cross compiling in Travis CI --- .travis.yml | 1 + travis-ci-build.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4d623137..9d2da385 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ compiler: - gcc - clang - i686-w64-mingw32-gcc + - x86_64-w64-mingw32-gcc script: ./travis-ci-build.sh diff --git a/travis-ci-build.sh b/travis-ci-build.sh index d5119431..97b49699 100755 --- a/travis-ci-build.sh +++ b/travis-ci-build.sh @@ -8,6 +8,11 @@ if [ "$CC" = "i686-w64-mingw32-gcc" ]; then export ARCH=x86 export CC= haveExternalLibs=0 +elif [ "$CC" = "x86_64-w64-mingw32-gcc" ]; then + export PLATFORM=mingw32 + export ARCH=x86_64 + export CC= + haveExternalLibs=0 else haveExternalLibs=1 fi