diff --git a/.travis.yml b/.travis.yml index 7012f369a8a..98890538e1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,11 +29,11 @@ matrix: - os: osx compiler: clang - env: TOOL=scons CXXSTD=14 NLS=false BRANCH=master OPT=-O0 + env: TOOL=xcodebuild OPT=Debug NLS=true BRANCH=master - os: osx compiler: clang - env: TOOL=xcodebuild BRANCH=master + env: TOOL=xcodebuild OPT=Release NLS=true BRANCH=master - compiler: gcc env: CXXSTD=14 NLS=only LTS=1604 BRANCH=master diff --git a/utils/travis/steps/script.sh b/utils/travis/steps/script.sh index f53eb1e1622..e55ab76bf83 100755 --- a/utils/travis/steps/script.sh +++ b/utils/travis/steps/script.sh @@ -11,7 +11,7 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then export CCACHE_MAXSIZE=500M export CCACHE_COMPILERCHECK=content - xcodebuild GCC_GENERATE_DEBUGGING_SYMBOLS=NO -project "The Battle for Wesnoth.xcodeproj" -target "The Battle for Wesnoth" -configuration Debug + xcodebuild GCC_GENERATE_DEBUGGING_SYMBOLS=NO -project "The Battle for Wesnoth.xcodeproj" -target "The Battle for Wesnoth" -configuration "$OPT" BUILD_RET=$?