Skip to content

Commit 0d72622

Browse files
committed
Fix command-line invocation of tests, and eliminate xctool dependency
1 parent 1405965 commit 0d72622

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
language: objective-c
2-
before_script:
3-
- brew update
4-
- brew upgrade xctool || true
52
script:
6-
- xctool -project Tests/WebViewJavascriptBridge.xcodeproj -scheme WebViewJavascriptBridge -configuration Release -sdk iphonesimulator test
3+
- make test

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
test:
2-
brew install xctool || true
3-
xctool -project Tests/WebViewJavascriptBridge.xcodeproj -scheme WebViewJavascriptBridge -configuration Release -sdk iphonesimulator test
2+
xcodebuild test -project Tests/WebViewJavascriptBridge.xcodeproj -scheme WebViewJavascriptBridge -destination 'platform=iOS Simulator,name=iPhone 4s'
43

54
publish-pod:
65
# pod trunk register [email protected] 'Marcus Westin' --description='MBA/MBP-xyz'

0 commit comments

Comments
 (0)