mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-06-16 12:24:31 +00:00
♻️ :: update project for Xcode 11 and iOS 13
This commit is contained in:
+1
-4
@@ -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
@@ -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]}
|
||||
|
||||
Reference in New Issue
Block a user