Skip to content
This repository was archived by the owner on May 8, 2022. It is now read-only.

Commit a70f7c4

Browse files
chuganzykrisk
authored andcommitted
Fix failing CI (#12)
* Fix unit test command * Use 9.4 image * Use Swift 4 * Use destination instead
1 parent fb62ebf commit a70f7c4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# * http://www.objc.io/issue-6/travis-ci.html
33
# * https://github.com/supermarin/xcpretty#usage
44

5-
osx_image: xcode8.2
5+
osx_image: xcode9.4
66
language: objective-c
77
# cache: cocoapods
88
# podfile: Example/Podfile
99
# before_install:
1010
# - gem install cocoapods # Since Travis is not always on latest version
1111
# - pod install --project-directory=Example
1212
script:
13-
- set -o pipefail && xcodebuild test -workspace Example/Fuse.xcworkspace -scheme Fuse-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
13+
- set -o pipefail && xcodebuild build test -workspace Example/Fuse.xcworkspace -scheme Fuse-Example -destination 'platform=iOS Simulator,name=iPhone 6' ONLY_ACTIVE_ARCH=NO | xcpretty
1414
- pod lib lint

Fuse.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ Pod::Spec.new do |s|
1414

1515
s.ios.deployment_target = '8.0'
1616
s.source_files = 'Fuse/Classes/**/*'
17+
s.swift_version = '4.1.2'
1718
end

0 commit comments

Comments
 (0)