From 521a5f2b4b7a62852795ec5ea73c4441be04bb90 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Sat, 27 Apr 2019 13:57:16 +0800 Subject: [PATCH] Don't run test during pod lib lint, run the test with next pipeline --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2f175b49..a2b6dd7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ podfile: Examples/Podfile before_install: - env - locale + - gem install cocoapods --no-rdoc --no-ri --no-document --quiet - gem install xcpretty --no-rdoc --no-ri --no-document --quiet - pod --version - pod repo update --silent @@ -32,7 +33,7 @@ script: - set -o pipefail - echo Check if the library described by the podspec can be built - - pod lib lint --allow-warnings + - pod lib lint --allow-warnings --skip-tests # Will run test below - echo Build as static library - xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage static' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c