diff --git a/.travis.yml b/.travis.yml index b2713ea3d..e8235d5ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,5 +13,5 @@ before_install: after_failure: - sleep 10 # This prevents the occasional output truncation that happens when piping to xcpretty. -script: make +script: make scan_test diff --git a/Makefile b/Makefile index a259bdd3d..7dd3f196a 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ default: test test: pod_install retest +scan_test: pod_install scan + pod_install: cd $(WORKING_DIR) && \ bundle exec pod install @@ -28,6 +30,9 @@ retest: optional_early_start_simulator -destination '${BUILD_DESTINATION}' \ test | xcpretty +scan: + bundle exec fastlane scan + clean: cd $(WORKING_DIR) && \ $(XCODE_BUILD) \ diff --git a/fastlane/.gitignore b/fastlane/.gitignore new file mode 100644 index 000000000..007b73ee6 --- /dev/null +++ b/fastlane/.gitignore @@ -0,0 +1 @@ +test_output diff --git a/fastlane/Scanfile b/fastlane/Scanfile new file mode 100644 index 000000000..92d36a875 --- /dev/null +++ b/fastlane/Scanfile @@ -0,0 +1,8 @@ +# For more information about this configuration visit +# https://github.com/fastlane/fastlane/tree/master/scan#scanfile + +workspace "Example/TSKitiOSTestApp/TSKitiOSTestApp.xcworkspace" +scheme "TSKitiOSTestApp" + +devices ["iPhone SE"] +