Skip to content

Commit 96cc475

Browse files
authored
Update .travis.yml
1 parent dee9084 commit 96cc475

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.travis.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ script:
3434

3535
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -sdk "$SDK" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
3636

37-
# DISABLING TESTS & BUILD EXAMPLES FOR NOW
38-
#- if [ $RUN_TESTS == "YES" ]; then
39-
# xcodebuild -workspace "$WORKSPACE" -scheme "$TEST_SCHEME" -destination "$DESTINATION" -sdk "$SDK" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
40-
# else
41-
# xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -sdk "$SDK" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
42-
# fi
37+
- if [ $RUN_TESTS == "YES" ]; then
38+
xcodebuild -workspace "$WORKSPACE" -scheme "$TEST_SCHEME" -destination "$DESTINATION" -sdk "$SDK" -configuration Release ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty;
39+
else
40+
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -sdk "$SDK" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty;
41+
fi
4342

44-
#- if [ $BUILD_EXAMPLE == "YES" ]; then
45-
# xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -destination "$DESTINATION" -sdk "$SDK" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
46-
# fi
43+
- if [ $BUILD_EXAMPLE == "YES" ]; then
44+
xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -destination "$DESTINATION" -sdk "$SDK" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
45+
fi

0 commit comments

Comments
 (0)