From ad73c86c6447e42e338f61288d365cec795d6b53 Mon Sep 17 00:00:00 2001 From: Nadine Salter Date: Fri, 20 Mar 2015 16:30:47 -0700 Subject: [PATCH] [travis] Life Without CocoaPods. --- .travis.yml | 1 + build.sh | 13 +++ .../xcschemes/Life Without CocoaPods.xcscheme | 88 +++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100644 smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/xcshareddata/xcschemes/Life Without CocoaPods.xcscheme diff --git a/.travis.yml b/.travis.yml index 7f43c40559..f160932b2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ install: echo "<3" env: - MODE=tests - MODE=examples + - MODE=life-without-cocoapods script: ./build.sh $MODE # whitelist diff --git a/build.sh b/build.sh index eb524b1036..55980eb7b6 100755 --- a/build.sh +++ b/build.sh @@ -47,4 +47,17 @@ if [ "$MODE" = "examples" ]; then exit 0 fi +if [ "$MODE" = "life-without-cocoapods" ]; then + echo "Verifying that AsyncDisplayKit functions as a static library." + + xctool \ + -workspace "smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcworkspace" \ + -scheme "Life Without CocoaPods" \ + -sdk "$SDK" \ + -destination "$PLATFORM" \ + build + trap - EXIT + exit 0 +fi + echo "Unrecognised mode '$MODE'." diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/xcshareddata/xcschemes/Life Without CocoaPods.xcscheme b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/xcshareddata/xcschemes/Life Without CocoaPods.xcscheme new file mode 100644 index 0000000000..71e83345d7 --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/xcshareddata/xcschemes/Life Without CocoaPods.xcscheme @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +