Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function build_example {
-sdk "$SDK" \
-destination "$PLATFORM" \
-derivedDataPath "$DERIVED_DATA_PATH" \
build | xcpretty $FORMATTER
build | xcpretty -s
elif [ -f "${example}/Cartfile" ]; then
echo "Using Carthage"
local_repo=`pwd`
Expand All @@ -50,7 +50,7 @@ function build_example {
-scheme Sample \
-sdk "$SDK" \
-destination "$PLATFORM" \
build | xcpretty $FORMATTER
build | xcpretty -s

cd ../..
fi
Expand All @@ -66,12 +66,6 @@ MODE="$1"

cleanup

if type xcpretty-travis-formatter &> /dev/null; then
FORMATTER="-f $(xcpretty-travis-formatter)"
else
FORMATTER="-s"
fi

case "$MODE" in
tests|all)
echo "Building & testing AsyncDisplayKit."
Expand All @@ -81,7 +75,7 @@ tests|all)
-scheme AsyncDisplayKit \
-sdk "$SDK" \
-destination "$PLATFORM" \
build-for-testing test | xcpretty $FORMATTER
build-for-testing test | xcpretty -s
success="1"
;;

Expand All @@ -100,7 +94,7 @@ tests_listkit)
-scheme ASDKListKitTests \
-sdk "$SDK" \
-destination "$PLATFORM" \
build-for-testing test | xcpretty $FORMATTER
build-for-testing test | xcpretty -s
success="1"
;;

Expand Down Expand Up @@ -199,7 +193,7 @@ life-without-cocoapods|all)
-scheme "Life Without CocoaPods" \
-sdk "$SDK" \
-destination "$PLATFORM" \
build | xcpretty $FORMATTER
build | xcpretty -s
success="1"
;;

Expand All @@ -211,7 +205,7 @@ framework|all)
-scheme Sample \
-sdk "$SDK" \
-destination "$PLATFORM" \
build | xcpretty $FORMATTER
build | xcpretty -s
success="1"
;;

Expand Down