Skip to content

Commit

Permalink
Move variable exports to the install step.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Feb 20, 2020
1 parent dbe2eea commit 0f16382
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions utils/travis/steps/install.sh
Expand Up @@ -20,6 +20,11 @@ fi

if [ "$TRAVIS_OS_NAME" = "osx" ]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache scons
export PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:$PWD/utils/travis:$PATH"
export CC=ccache-clang
export CXX=ccache-clang++
export CCACHE_MAXSIZE=3000M
export CCACHE_COMPILERCHECK=content
travis_wait ./projectfiles/Xcode/Fix_Xcode_Dependencies
elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
start=`pwd`
Expand Down
7 changes: 0 additions & 7 deletions utils/travis/steps/script.sh
@@ -1,17 +1,10 @@
#!/bin/bash

if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:$PWD/utils/travis:$PATH"
export CC=ccache-clang
export CXX=ccache-clang++

scons translations build=release --debug=time nls=true jobs=2 || exit 1

cd ./projectfiles/Xcode

export CCACHE_MAXSIZE=500M
export CCACHE_COMPILERCHECK=content

xcodebuild CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -project "The Battle for Wesnoth.xcodeproj" -target "The Battle for Wesnoth" -configuration "$OPT"

BUILD_RET=$?
Expand Down

0 comments on commit 0f16382

Please sign in to comment.