Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 23a5c39

Browse files
committed
Make Travis CI output more readable.
1 parent b1c71eb commit 23a5c39

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/travis-ci.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/bin/bash
22

33
set -e
4-
set -x
5-
6-
export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
74

85
OUTPUT_DIR=$(mktemp -d -t xctool-release)
96
BUILD_OUTPUT_DIR="$OUTPUT_DIR"/build
107
RELEASE_OUTPUT_DIR="$OUTPUT_DIR"/release
118
XCTOOL_DIR=$(cd $(dirname $0)/..; pwd)
129

10+
[[ -n "${TRAVIS}" ]] && echo "travis_fold:start:build_xctool_tests"
11+
[[ -n "${TRAVIS}" ]] && echo "Build xctool and tests"
12+
1313
# Build xctool with xcodebuild
1414
xcodebuild \
1515
build-for-testing \
@@ -22,6 +22,8 @@ xcodebuild \
2222
-IDECustomBuildIntermediatesPath="$BUILD_OUTPUT_DIR/Intermediates" \
2323
XT_INSTALL_ROOT="$RELEASE_OUTPUT_DIR"
2424

25+
[[ -n "${TRAVIS}" ]] && echo "travis_fold:end:build_xctool_tests"
26+
2527
if [[ ! -x "$RELEASE_OUTPUT_DIR"/bin/xctool ]]; then
2628
echo "ERROR: xctool binary is missing."
2729
exit 1

0 commit comments

Comments
 (0)