From 633a4503ae20260708b45176787c8f65c7adc1cb Mon Sep 17 00:00:00 2001 From: Graham Dennis Date: Sun, 24 Nov 2013 18:01:43 +1100 Subject: [PATCH] Add a .travis.yml file to use Travis CI for automated testing. Add a Tests scheme for Travis CI. --- .travis.yml | 5 ++ Tests/Schemes/Tests.xcscheme | 83 ++++++++++++++++++++++++++++++++++ fmdb.xcodeproj/project.pbxproj | 4 +- 3 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 .travis.yml create mode 100644 Tests/Schemes/Tests.xcscheme diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7e21267 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: objective-c +xcode_project: fmdb.xcodeproj +xcode_scheme: Tests +before_install: + - mkdir -p "fmdb.xcodeproj/xcshareddata/xcschemes" && cp Tests/Schemes/*.xcscheme "fmdb.xcodeproj/xcshareddata/xcschemes/" diff --git a/Tests/Schemes/Tests.xcscheme b/Tests/Schemes/Tests.xcscheme new file mode 100644 index 0000000..3ccd45a --- /dev/null +++ b/Tests/Schemes/Tests.xcscheme @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fmdb.xcodeproj/project.pbxproj b/fmdb.xcodeproj/project.pbxproj index d6b651d..813465c 100644 --- a/fmdb.xcodeproj/project.pbxproj +++ b/fmdb.xcodeproj/project.pbxproj @@ -517,7 +517,7 @@ GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNUSED_FUNCTION = YES; INFOPLIST_FILE = "Tests/Tests-Info.plist"; - MACOSX_DEPLOYMENT_TARGET = 10.9; + MACOSX_DEPLOYMENT_TARGET = 10.8; ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; @@ -552,7 +552,7 @@ GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNUSED_FUNCTION = YES; INFOPLIST_FILE = "Tests/Tests-Info.plist"; - MACOSX_DEPLOYMENT_TARGET = 10.9; + MACOSX_DEPLOYMENT_TARGET = 10.8; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; WRAPPER_EXTENSION = xctest;