From edcc06c274db52bf54ed1fe78359b932d9faccfa Mon Sep 17 00:00:00 2001 From: EyreFree Date: Sun, 31 Mar 2019 22:27:15 +0800 Subject: [PATCH] Fix --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae13712..c1aa177 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,19 +10,21 @@ env: - LANG=en_US.UTF-8 - LC_ALL=en_US.UTF-8 - XCODE_WORKSPACE=Example/EFCountingLabel.xcworkspace + - DESTINATION="OS=12.0,name=iPhone XS" matrix: - SCHEME="EFCountingLabel-Example" before_install: - - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - - gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet + - gem install xcpretty --no-document --quiet + - gem install cocoapods --pre --no-document --quiet - pod install --project-directory=Example script: - set -o pipefail - - xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -configuration Debug clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c - - xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -configuration Release clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c + - pod repo update + - xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c; + - xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$SCHEME" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c; - pod lib lint --allow-warnings after_success: - - sleep 3 + - sleep 3 \ No newline at end of file