From 637eaae9c722774e84686b43c3f232e65340c593 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Sat, 5 Sep 2015 14:56:34 -0700 Subject: [PATCH] Don't run tests for SDKs < 10.10. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0908eb99..4f1b4a9f 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,12 @@ test: xcodebuild -scheme Distribution -configuration Debug test ci: - for i in {7..11} ; do \ + for i in {7..9} ; do \ + if xcrun --sdk "macosx10.$$i" --show-sdk-path 2> /dev/null ; then \ + ( rm -rf build && xcodebuild -sdk "macosx10.$$i" -scheme Distribution -configuration Coverage -derivedDataPath build ) || exit 1 ; \ + fi ; \ + done + for i in {10..11} ; do \ if xcrun --sdk "macosx10.$$i" --show-sdk-path 2> /dev/null ; then \ ( rm -rf build && xcodebuild -sdk "macosx10.$$i" -scheme Distribution -configuration Coverage -derivedDataPath build test ) || exit 1 ; \ fi ; \