3 # initial build matrix using default os and compiler
5 - CONFLAGS=" --enable-release --disable-debug --enable-editor --with-opengl"
6 - CONFLAGS="--disable-release --enable-debug --enable-editor --with-opengl"
8 # each include adds one build, using the first env defined above
12 compiler: i586-mingw32msvc-gcc
14 # compiler: i686-w64-mingw32-gcc
16 compiler: x86_64-w64-mingw32-gcc
21 # - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
24 - case $CC in gcc) sudo apt-get install -y libphysfs-dev libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev; esac
26 - case $CC in *-w64-mingw32-*) sudo apt-get remove -qq -y mingw32; esac
27 - case $CC in *-w64-mingw32-*) sudo apt-get install -y mingw-w64; esac
29 - case $CC in *-*-gcc) export CONFLAGS="$CONFLAGS --host $(basename $CC -gcc)"; esac
31 - case $CC in i?86-*mingw32*-*) export CONFLAGS="$CONFLAGS --with-sdl-prefix=`pwd`/arch/win32 CPPFLAGS=-Iarch/win32/include LDFLAGS=-Larch/win32/lib PKG_CONFIG_LIBDIR=`pwd`/arch/win32/lib/pkgconfig"; esac
33 - case $CC in x86_64-*mingw32*-*) export CONFLAGS="$CONFLAGS --with-sdl-prefix=`pwd`/arch/win64 CPPFLAGS=-Iarch/win64/include LDFLAGS=-Larch/win64/lib PKG_CONFIG_LIBDIR=`pwd`/arch/win64/lib/pkgconfig"; esac
35 # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
36 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/4aeb45bc1b3c6ffbc075943c4c9f519b932dcf2b/Formula/physfs.rb; fi
37 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install sdl sdl_mixer sdl_image; fi
43 - ./configure $CONFLAGS