Skip to content

Commit ad6d3a7

Browse files
committed
Fixes CI
1 parent e6d15b9 commit ad6d3a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ notifications:
99
install: true
1010

1111
script:
12-
- mkdir -p build && . ./scripts/common.sh && pod install && rx "Tests" Release "${DEFAULT_IOS_SIMULATOR}" test && rx "ExampleUITests" Release "${DEFAULT_IOS_SIMULATOR}" test && set +e
12+
- mkdir -p build && . ./scripts/common.sh && rx "Tests" Release "${DEFAULT_IOS_SIMULATOR}" test && rx "ExampleUITests" Release "${DEFAULT_IOS_SIMULATOR}" test && set +e
1313

1414
after_success:
1515
- sleep 5 # workaround https://github.com/travis-ci/travis-ci/issues/4725

scripts/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function ensure_simulator_available() {
119119
BUILD_DIRECTORY=build
120120

121121
function rx() {
122-
action `find . -name "*.xcworkspace" -maxdepth 1` "$1" "$2" "$3" "$4"
122+
action `find . -name "*.xcodeproj" -maxdepth 1` "$1" "$2" "$3" "$4"
123123
}
124124

125125
function action() {
@@ -158,7 +158,7 @@ function action() {
158158
set -x
159159
mkdir -p build
160160
killall Simulator || true
161-
xcodebuild -workspace "${WORKSPACE}" \
161+
xcodebuild -project "${WORKSPACE}" \
162162
-scheme "${SCHEME}" \
163163
-configuration "${CONFIGURATION}" \
164164
-derivedDataPath "${BUILD_DIRECTORY}" \

0 commit comments

Comments
 (0)