From 853024c882ac6c0a5c27cab50037aa458eb95595 Mon Sep 17 00:00:00 2001 From: Roy Marmelstein Date: Sun, 17 Jan 2016 20:23:13 +0100 Subject: [PATCH] CI updates --- .travis.yml | 2 +- build.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 build.sh diff --git a/.travis.yml b/.travis.yml index 4340e4a..e80206d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ before_install: - xcrun simctl list install: echo "<3" env: - - MODE=build + - MODE=framework - MODE=examples script: ./build.sh $MODE diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 0f5d6fc..1d45a8a --- a/build.sh +++ b/build.sh @@ -17,14 +17,14 @@ trap trap_handler INT TERM EXIT MODE="$1" -if [ "$MODE" = "build" ]; then - echo "Building Zip." +if [ "$MODE" = "framework" ]; then + echo "Building and testing Zip." xctool \ -project Zip.xcodeproj \ -scheme Zip \ -sdk "$SDK" \ -destination "$PLATFORM" \ - build + build test trap - EXIT exit 0 fi -- 2.26.2