From 58fff9732e1ba9351087e403e2e6f2a674ff4392 Mon Sep 17 00:00:00 2001 From: Rajiv Shah Date: Tue, 26 May 2020 17:31:02 -0400 Subject: [PATCH 1/2] Copy new Travis CI config from master --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index bfec1ffe..b46ee7b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ +os: osx language: objective-c -osx_image: xcode9 -before_install: - - brew update -script: make ci +osx_image: + - xcode10.3 + - xcode11.4 +script: + - set -o pipefail && xcodebuild test -project Sparkle.xcodeproj -scheme Distribution -derivedDataPath build -enableCodeCoverage YES | xcpretty From aa9e05958dcda842ccb75128e7176cb146bceacb Mon Sep 17 00:00:00 2001 From: Rajiv Shah Date: Tue, 26 May 2020 00:34:15 -0400 Subject: [PATCH 2/2] Fix SUCodeSigningVerifierTest on macOS 10.15 Pre-installed apps, such as Calculator, are now installed under the System folder --- Tests/SUCodeSigningVerifierTest.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/SUCodeSigningVerifierTest.m b/Tests/SUCodeSigningVerifierTest.m index f52dae7b..8f68185c 100644 --- a/Tests/SUCodeSigningVerifierTest.m +++ b/Tests/SUCodeSigningVerifierTest.m @@ -12,7 +12,12 @@ #import "SUAdHocCodeSigning.h" #import "SUFileManager.h" +#if defined(__MAC_10_15) +// In macOS 10.15 and later, pre-installed apps are installed under the System folder +#define CALCULATOR_PATH @"/System/Applications/Calculator.app" +#else #define CALCULATOR_PATH @"/Applications/Calculator.app" +#endif @interface SUCodeSigningVerifierTest : XCTestCase