From c6ca60e7810e324ab93cfd605af99600396dc613 Mon Sep 17 00:00:00 2001 From: Antony Raphel Date: Tue, 9 Jul 2019 08:03:00 +0530 Subject: [PATCH] Travis CI Update (#17) * swift 4 or above version issue * travis update --- .travis.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4caa061..b3d0db3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,26 +1,27 @@ # 1 language: objective-c - +xcode_project: ARCarMovement.xcodeproj +xcode_scheme: ARCarMovementTests +osx_image: xcode10.2 branches: only: - development # 2 before_install: -- cd ARCarMovement - pod install -# - brew update -# - brew upgrade xctool +- brew update +- brew upgrade xctool # 3 script: xcodebuild clean && xcodebuild build -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -# script: xcodebuild test -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO +script: xcodebuild test -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO # 4 -# script: xctool test -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO +script: xctool test -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO # 5 -# script: -# - xcodebuild build-for-testing -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -# - xctool run-tests -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO \ No newline at end of file +script: + - xcodebuild build-for-testing -workspace ARCarMovement.xcworkspace -scheme ARCarMovement -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO + - xctool run-tests -workspace ARCarMovement.xcworkspace -scheme ARCarMovementTests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO \ No newline at end of file