Skip to content

Commit 6844b53

Browse files
committed
Retry build on travis
// FREEBIE
1 parent f1b4bd7 commit 6844b53

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@ build: dependencies
2525
$(XCODE_BUILD) build | xcpretty
2626

2727
test: optional_early_start_simulator
28+
ifdef TRAVIS
29+
cd $(WORKING_DIR) && \
30+
travis_retry $(XCODE_BUILD) \
31+
-destination '${BUILD_DESTINATION}' \
32+
test | xcpretty
33+
else
2834
cd $(WORKING_DIR) && \
2935
$(XCODE_BUILD) \
3036
-destination '${BUILD_DESTINATION}' \
3137
test | xcpretty
38+
end
3239

3340
clean:
3441
cd $(WORKING_DIR) && \

0 commit comments

Comments
 (0)