Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Travis: Split tools=no builds on X11 to distinct jobs
Browse files Browse the repository at this point in the history
Also disable server platform as it is broken
  • Loading branch information
akien-mga committed Oct 22, 2017
1 parent a00b21d commit 618bd1a
Showing 1 changed file with 26 additions and 19 deletions.
45 changes: 26 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ env:
- PLATFORM=osx BITS=fat TOOLS=yes TARGET=release_debug
- PLATFORM=osx BITS=fat TOOLS=no TARGET=release
- PLATFORM=osx BITS=fat TOOLS=no TARGET=release_debug
- PLATFORM=server BITS=64 TOOLS=yes
- PLATFORM=x11 BITS=32 TOOLS=yes
- PLATFORM=x11 BITS=32 TOOLS=no
- PLATFORM=x11 BITS=64 TOOLS=yes
- PLATFORM=x11 BITS=64 TOOLS=no
# - PLATFORM=server BITS=64 TOOLS=yes TARGET=release_debug
- PLATFORM=x11 BITS=32 TOOLS=yes TARGET=release_debug
- PLATFORM=x11 BITS=32 TOOLS=no TARGET=release
- PLATFORM=x11 BITS=32 TOOLS=no TARGET=release_debug
- PLATFORM=x11 BITS=64 TOOLS=yes TARGET=release_debug
- PLATFORM=x11 BITS=64 TOOLS=no TARGET=release
- PLATFORM=x11 BITS=64 TOOLS=no TARGET=release_debug
- PLATFORM=android TARGET=release ANDROID_ARCH=armv7
- PLATFORM=android TARGET=release ANDROID_ARCH=x86
- PLATFORM=android TARGET=release_debug ANDROID_ARCH=armv7
Expand Down Expand Up @@ -74,15 +76,19 @@ matrix:
- os: linux
env: PLATFORM=osx BITS=fat TOOLS=no TARGET=release_debug
- os: osx
env: PLATFORM=server BITS=64 TOOLS=yes
env: PLATFORM=server BITS=64 TOOLS=yes TARGET=release_debug
- os: osx
env: PLATFORM=x11 BITS=32 TOOLS=yes
env: PLATFORM=x11 BITS=32 TOOLS=yes TARGET=release_debug
- os: osx
env: PLATFORM=x11 BITS=32 TOOLS=no
env: PLATFORM=x11 BITS=32 TOOLS=no TARGET=release
- os: osx
env: PLATFORM=x11 BITS=64 TOOLS=yes
env: PLATFORM=x11 BITS=32 TOOLS=no TARGET=release_debug
- os: osx
env: PLATFORM=x11 BITS=64 TOOLS=no
env: PLATFORM=x11 BITS=64 TOOLS=yes TARGET=release_debug
- os: osx
env: PLATFORM=x11 BITS=64 TOOLS=no TARGET=release
- os: osx
env: PLATFORM=x11 BITS=64 TOOLS=no TARGET=release_debug
- compiler: gcc
env: PLATFORM=iphone TARGET=release
- compiler: gcc
Expand Down Expand Up @@ -110,15 +116,19 @@ matrix:
- compiler: clang
env: PLATFORM=android TARGET=release_debug ANDROID_ARCH=x86
- compiler: clang
env: PLATFORM=server BITS=64 TOOLS=yes
env: PLATFORM=server BITS=64 TOOLS=yes TARGET=release_debug
- compiler: clang
env: PLATFORM=x11 BITS=32 TOOLS=yes TARGET=release_debug
- compiler: clang
env: PLATFORM=x11 BITS=32 TOOLS=yes
env: PLATFORM=x11 BITS=32 TOOLS=no TARGET=release
- compiler: clang
env: PLATFORM=x11 BITS=32 TOOLS=no
env: PLATFORM=x11 BITS=32 TOOLS=no TARGET=release_debug
- compiler: clang
env: PLATFORM=x11 BITS=64 TOOLS=yes
env: PLATFORM=x11 BITS=64 TOOLS=yes TARGET=release_debug
- compiler: clang
env: PLATFORM=x11 BITS=64 TOOLS=no
env: PLATFORM=x11 BITS=64 TOOLS=no TARGET=release
- compiler: clang
env: PLATFORM=x11 BITS=64 TOOLS=no TARGET=release_debug


before_script:
Expand Down Expand Up @@ -163,10 +173,7 @@ script:
fi;
- if [ "$PLATFORM" = "x11" -o "$PLATFORM" = "server" ]; then
export CC=gcc-7; export CXX=g++-7;
if [ "$TOOLS" = "yes" ]; then $SCONS platform=$PLATFORM CC=$CC CXX=$CXX $OPTIONS tools=yes use_static_cpp=yes bits=$BITS target=release_debug;
else $SCONS platform=$PLATFORM CC=$CC CXX=$CXX $OPTIONS tools=no use_static_cpp=yes bits=$BITS target=release;
$SCONS platform=$PLATFORM CC=$CC CXX=$CXX $OPTIONS tools=no use_static_cpp=yes bits=$BITS target=release_debug;
fi;
$SCONS platform=$PLATFORM CC=$CC CXX=$CXX $OPTIONS tools=$TOOLS use_static_cpp=yes bits=$BITS target=$TARGET;
fi;
- if [ "$PLATFORM" = "android" ]; then
$SCONS platform=$PLATFORM CXX=$CXX $OPTIONS target=$TARGET android_arch=$ANDROID_ARCH;
Expand Down

0 comments on commit 618bd1a

Please sign in to comment.