aboutsummaryrefslogtreecommitdiff
path: root/travis.sh
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2016-02-16 15:10:14 -0500
committerThomas Van Lenten <thomasvl@google.com>2016-02-16 15:10:14 -0500
commitefca368939143bd2af6f67af424b5704acfb6e4d (patch)
tree35c22c58b5a38c7de74a744b8971706f466438f9 /travis.sh
parentee819ea724026396ea33ba4e5d70c020b022731c (diff)
downloadprotobuf-efca368939143bd2af6f67af424b5704acfb6e4d.tar.gz
protobuf-efca368939143bd2af6f67af424b5704acfb6e4d.tar.bz2
protobuf-efca368939143bd2af6f67af424b5704acfb6e4d.zip
Move the xctool use of -reporter into a common spot and always use "plain" to get more readable logs on travis.
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/travis.sh b/travis.sh
index 8a3341ea..c973ec6c 100755
--- a/travis.sh
+++ b/travis.sh
@@ -179,8 +179,10 @@ internal_objectivec_common () {
}
internal_xctool_debug_and_release() {
- xctool -configuration Debug "$@"
- xctool -configuration Release "$@"
+ # Always use -reporter plain to avoid escape codes in output (makes travis
+ # logs easier to read).
+ xctool -reporter plain -configuration Debug "$@"
+ xctool -reporter plain -configuration Release "$@"
}
build_objectivec_ios() {
@@ -202,14 +204,11 @@ build_objectivec_ios() {
for i in "${IOS_DESTINATIONS[@]}" ; do
# Throw -newSimulatorInstance in incase it helps with the flake that
# started happening after xctool 0.2.8 got released.
- # Use -reporter plain to avoid escape codes in output while sorting out
- # flake that doesn't seem source related.
internal_xctool_debug_and_release \
-project objectivec/ProtocolBuffers_iOS.xcodeproj \
-scheme ProtocolBuffers \
-sdk iphonesimulator \
-destination "${i}" \
- -reporter plain \
run-tests \
-newSimulatorInstance
done