From e81357302bc593d0eb4fdced87d4275ed3d36204 Mon Sep 17 00:00:00 2001 From: Tony Arnold Date: Thu, 27 Oct 2016 10:01:35 +1100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20share=20the=20Example=20Model?= =?UTF-8?q?=20schemes=20(#102).=20close=20#100?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 12 ++- .../xcschemes/ExampleModel-OSX.xcscheme | 80 ----------------- .../xcschemes/ExampleModel-iOS.xcscheme | 89 ------------------- 3 files changed, 9 insertions(+), 172 deletions(-) delete mode 100644 Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-OSX.xcscheme delete mode 100644 Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-iOS.xcscheme diff --git a/.travis.yml b/.travis.yml index 8145c6c8..4439c4a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,9 @@ language: objective-c osx_image: xcode8 +cache: + - cocoapods + env: global: - LANG=en_US.UTF-8 @@ -26,7 +29,7 @@ env: - DESTINATION="OS=9.1,name=iPhone 6s" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO" - DESTINATION="OS=9.2,name=iPhone 6s Plus" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO" - DESTINATION="OS=9.3,name=iPad Pro" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO" - + - DESTINATION="OS=10.0,name=iPhone 7" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO" - DESTINATION="arch=x86_64" SDK="$OSX_SDK" SCHEME="$OSX_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO" @@ -37,6 +40,9 @@ env: - DESTINATION="OS=2.0,name=Apple Watch - 38mm" SDK="$WATCHOS_SDK" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="NO" POD_LINT="NO" - DESTINATION="OS=3.0,name=Apple Watch - 42mm" SDK="$WATCHOS_SDK" SCHEME="$WATCHOS_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="NO" POD_LINT="NO" +before_install: + - gem install cocoapods # Since Travis is not always on latest version + script: - if [ $POD_LINT == "YES" ]; then pod lib lint; @@ -44,7 +50,6 @@ script: - if [ $BUILD_EXAMPLE == "YES" ]; then xcodebuild clean build -project Example/ExampleApp.xcodeproj -scheme ExampleApp -sdk "$SDK" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -c; - xcodebuild clean build -project Example/ExampleModel/ExampleModel.xcodeproj -scheme ExampleModel-iOS -sdk "$SDK" -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty -c; fi - if [ $RUN_TESTS == "YES" ]; then @@ -59,4 +64,5 @@ script: fi after_success: -- bash <(curl -s https://codecov.io/bash) + - bash <(curl -s https://codecov.io/bash) + - sleep 5 diff --git a/Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-OSX.xcscheme b/Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-OSX.xcscheme deleted file mode 100644 index bca26d52..00000000 --- a/Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-OSX.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-iOS.xcscheme b/Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-iOS.xcscheme deleted file mode 100644 index 5d5cf4bc..00000000 --- a/Example/ExampleModel/ExampleModel.xcodeproj/xcshareddata/xcschemes/ExampleModel-iOS.xcscheme +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -