♻️ :: update project for Xcode 11 and iOS 13

This commit is contained in:
Felix Mau
2019-10-11 17:09:24 +02:00
parent 603f3cae0e
commit f2c43cbe72
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -6,11 +6,8 @@
# - http://www.mokacoding.com/blog/travis-ci-ios-testing/
#
osx_image: xcode10.2
osx_image: xcode11
language: swift
podfile: Example/Podfile
before_install:
- pod install --repo-update --project-directory=Example
script:
- ./Scripts/swift-format.sh
- ./Scripts/swift-lint.sh
@@ -24,7 +24,7 @@ class GradientActivityIndicatorViewAnimateIsHiddenTestCase: XCTestCase {
// In order for UIView animations to be executed correctly, the corresponding view has to be attached to a visible window.
// Therefore we're gonna use the current key-window, add our testing view here in `setUp()` and remove it later in `tearDown()`.
window = UIApplication.shared.keyWindow
window = UIApplication.shared.windows.first { $0.isKeyWindow }
gradientActivityIndicatorView = GradientActivityIndicatorView()
window.addSubview(gradientActivityIndicatorView)
+1 -1
View File
@@ -16,5 +16,5 @@ xcodebuild \
-workspace GradientLoadingBar.xcworkspace \
-scheme GradientLoadingBar-Example \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone XR,OS=12.2' \
-destination 'platform=iOS Simulator,name=iPhone 11 Pro,OS=13.0' \
build test | xcpretty && exit ${PIPESTATUS[0]}