From 2e454772f492f5df4d86ca38e5d2e0c2412af952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Olejni=CC=81k?= Date: Wed, 19 Sep 2018 11:01:39 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1976b51a..3a957261 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,16 @@ osx_image: xcode9.4 language: objective-c -cache: - directories: - - Carthage +env: + global: + - FRAMEWORK_NAME=ACKategories before_install: - brew update - brew outdated carthage || brew upgrade carthage +before_script: - travis_wait 60 carthage bootstrap --platform iOS --cache-builds +before_deploy: + - carthage build --no-skip-current + - carthage archive $FRAMEWORK_NAME script: - set -o pipefail && xcodebuild test -scheme ACKategories -destination 'platform=iOS Simulator,name=iPhone X,OS=11.4' ONLY_ACTIVE_ARCH=NO | xcpretty -- pod lib lint +- pod lib lint \ No newline at end of file