Skip to content

Commit e915aca

Browse files
committed
changed: using the xcodebuild for travis.
1 parent e32751c commit e915aca

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ before_script:
1717
# bootstrap the dependencies for the project
1818
# you can remove if you don't have dependencies
1919
- carthage bootstrap
20-
#script:
21-
# - set -o pipefail;
22-
# - xcodebuild test -project ViewModelKit.xcodeproj -scheme ViewModelKit -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5" | xcpretty
23-
# - xcodebuild test -project ViewModelKit.xcodeproj -scheme ViewModelKit -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5s" | xcpretty
24-
20+
script:
21+
- set -o pipefail;
22+
- xcodebuild test -project ViewModelKit.xcodeproj -scheme ViewModelKit -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5" | xcpretty
23+
- xcodebuild test -project ViewModelKit.xcodeproj -scheme ViewModelKit -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5s" | xcpretty
2524
before_deploy:
2625
- carthage build --no-skip-current
2726
- carthage archive $FRAMEWORK_NAME

0 commit comments

Comments
 (0)