From 4e49cfa7ea6592b929f0d51223cf6304094bba04 Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Thu, 4 May 2017 15:43:10 +0200 Subject: [PATCH] Strip usused commands, Fix codegov --- .travis.yml | 4 +--- .travis/after_success.sh | 2 -- .travis/run.sh | 4 ---- Gemfile | 3 --- fastlane/Fastfile | 4 ++-- 5 files changed, 3 insertions(+), 14 deletions(-) delete mode 100755 .travis/after_success.sh diff --git a/.travis.yml b/.travis.yml index 840cbb0ebf8..b77efeb4bc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,7 @@ rvm: script: - .travis/run.sh after_success: - - if [ "$LANE" = "test" ]; then bash <(curl -s https://codecov.io/bash) -J '^Swift$'; elif [ "$LANE" = "test_swift" ]; then bash <(curl -s https://codecov.io/bash) -J '^SentrySwift$'; fi -# - .travis/after_success.sh -# - if [ "$LANE" = "test_swift_3_ios" ]; then bash <(curl -s https://codecov.io/bash) -f cobertura.xml; fi + - if [ "$LANE" = "test" ]; then bash <(curl -s https://codecov.io/bash) -J '^Sentry$'; elif [ "$LANE" = "test_swift" ]; then bash <(curl -s https://codecov.io/bash) -J '^SentrySwift$'; fi env: matrix: - LANE=lint diff --git a/.travis/after_success.sh b/.travis/after_success.sh deleted file mode 100755 index 50ce9fab242..00000000000 --- a/.travis/after_success.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -if [ "$LANE" = "test" ]; then bash <(curl -s https://codecov.io/bash) -J '^Swift$' elif [ "$LANE" = "test_swift" ]; then bash <(curl -s https://codecov.io/bash) -J '^SentrySwift$' fi diff --git a/.travis/run.sh b/.travis/run.sh index 78c75b15811..f23d5919662 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -1,10 +1,6 @@ #!/bin/sh gem install fastlane -# gem "cocoapods" -# gem "fastlane" -# gem "slather", :group => :coverage - if [ "$LANE" = "lint" ]; then gem install danger diff --git a/Gemfile b/Gemfile index ea5a4dafd6d..7e7493d50e7 100644 --- a/Gemfile +++ b/Gemfile @@ -2,6 +2,3 @@ source "https://rubygems.org" gem "cocoapods" gem "fastlane" -gem "slather" -gem "danger" -gem "danger-swiftlint" diff --git a/fastlane/Fastfile b/fastlane/Fastfile index c2b0c65c83b..63688e3beaf 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -51,11 +51,11 @@ lane :lint do end lane :test do - scan(scheme: "Sentry", code_coverage: true) + scan(scheme: "Sentry") end lane :test_swift do - scan(scheme: "SentrySwift", code_coverage: true) + scan(scheme: "SentrySwift") # travis_slather end