From 71cd315430c6bf63daf813a9f77aa7f72ccd5719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Padovani?= Date: Sun, 9 Oct 2016 16:27:03 +0200 Subject: [PATCH 1/3] Added Scanfile. --- Scanfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Scanfile diff --git a/Scanfile b/Scanfile new file mode 100644 index 0000000..fc62657 --- /dev/null +++ b/Scanfile @@ -0,0 +1,13 @@ +# For more information about this configuration visit +# https://github.com/fastlane/fastlane/tree/master/scan#scanfile + +# In general, you can use the options available +# scan --help + +workspace "./Example/CPSegmentedScrollView.xcworkspace" + +scheme "CPSegmentedScrollView-Example" + +configuration "Debug" + +sdk "iphonesimulator" \ No newline at end of file From 3f8a683c28661312c48d079772efca4bd0a7a216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Padovani?= Date: Sun, 9 Oct 2016 16:29:14 +0200 Subject: [PATCH 2/3] Ignore test results --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e7b722d..b4b64eb 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ Carthage # `pod install` in .travis.yml # # Pods/ +/test_output From 6edd40a5b5be92c2a2b2289bfca57b4de1846935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Padovani?= Date: Sun, 9 Oct 2016 16:30:02 +0200 Subject: [PATCH 3/3] Updated travis for scan. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 44ce986..26c651e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ env: before_install: - gem install cocoapods --pre # Since Travis is not always on latest version - gem update xcpretty + - gem update fastlane - gem cleanup - pod install --project-directory=Example --repo-update branches: @@ -17,8 +18,7 @@ branches: - master - develop script: - - set -o pipefail - - xcodebuild test -workspace Example/CPSegmentedScrollView.xcworkspace -scheme CPSegmentedScrollView-Example -sdk iphonesimulator -destination "name=iPhone SE" | tee xcodebuild.log | xcpretty + - scan - pod lib lint after_failure: - echo "***"