From c49420509c2fe6f805bc2668b06fb89ea19bde2b Mon Sep 17 00:00:00 2001 From: Yehor Popovych Date: Mon, 21 Nov 2016 23:01:58 +0200 Subject: [PATCH] Added xcpretty to xcodebuild Bumped swift release to 3.0.1 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1179788..e9b18cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ env: matrix: include: - script: - - xcodebuild test -project $MODULE_NAME.xcodeproj -scheme $MODULE_NAME + - xcodebuild clean test -project $MODULE_NAME.xcodeproj -scheme $MODULE_NAME | xcpretty --color && exit ${PIPESTATUS[0]} os: osx osx_image: xcode8.1 language: objective-c @@ -40,7 +40,7 @@ matrix: # install original swift distribution - wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import - - cd .. - - export SWIFT_VERSION="swift-3.0-release" + - export SWIFT_VERSION="swift-3.0.1-release" - SWIFT_VERSION_UPPER=`echo $SWIFT_VERSION | perl -n -e'/^(.*?)-([\.\d]*?)-(.*)$/; $code = uc $3; print "$1-$2-${code}"'` - wget https://swift.org/builds/$SWIFT_VERSION/ubuntu1404/$SWIFT_VERSION_UPPER/$SWIFT_VERSION_UPPER-ubuntu14.04.tar.gz - tar xzf $SWIFT_VERSION_UPPER-ubuntu14.04.tar.gz