From 1be3d9041086db6d035a4070af2eae7be0d89f5c Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Mon, 14 Sep 2015 16:27:49 -0700 Subject: [PATCH] Use code coverage from CodeCov. --- .slather.yml | 8 -------- .travis.yml | 7 +++---- README.md | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 .slather.yml diff --git a/.slather.yml b/.slather.yml deleted file mode 100644 index 8c2b69fb0..000000000 --- a/.slather.yml +++ /dev/null @@ -1,8 +0,0 @@ -service: travis_ci -coverage_service: coveralls -xcodeproj: Bolts.xcodeproj -build_directory: build -ignore: - - BoltsTestUI/* - - BoltsTests/* - \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 5e1ad456f..189781ef3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ before_install: - | if [ "$TEST_TYPE" = ios ] || [ "$TEST_TYPE" = osx ]; then gem install xcpretty -N --no-ri --no-rdoc - gem install slather --no-ri --no-rdoc elif [ "$TEST_TYPE" = cocoapods ]; then gem install cocoapods --pre --quiet --no-ri --no-rdoc pod setup --silent @@ -25,10 +24,10 @@ script: - | if [ "$TEST_TYPE" = ios ]; then set -o pipefail - xcodebuild test -project Bolts.xcodeproj -sdk iphonesimulator -scheme Bolts -configuration Debug OBJROOT="$PWD/build" SYMROOT="$PWD/build" -destination "platform=iOS Simulator,name=iPhone 4s" -destination "platform=iOS Simulator,name=iPhone 6 Plus" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c + xcodebuild test -project Bolts.xcodeproj -sdk iphonesimulator -scheme Bolts -configuration Debug -destination "platform=iOS Simulator,name=iPhone 4s" -destination "platform=iOS Simulator,name=iPhone 6 Plus" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c elif [ "$TEST_TYPE" = osx ]; then set -o pipefail - xcodebuild test -project Bolts.xcodeproj -sdk macosx -scheme MacBolts -configuration Debug OBJROOT="$PWD/build" SYMROOT="$PWD/build" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c + xcodebuild test -project Bolts.xcodeproj -sdk macosx -scheme MacBolts -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty -c elif [ "$TEST_TYPE" = cocoapods ]; then pod lib lint Bolts.podspec pod lib lint --use-libraries Bolts.podspec @@ -36,5 +35,5 @@ script: after_success: - | if [ "$TEST_TYPE" = ios ] || [ "$TEST_TYPE" = osx ]; then - slather + bash <(curl -s https://codecov.io/bash) fi diff --git a/README.md b/README.md index 1970ae770..003a2eac5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Bolts ============ [![Build Status](http://img.shields.io/travis/BoltsFramework/Bolts-iOS/master.svg?style=flat)](https://travis-ci.org/BoltsFramework/Bolts-iOS) -[![Coverage Status](https://coveralls.io/repos/BoltsFramework/Bolts-iOS/badge.svg)](https://coveralls.io/r/BoltsFramework/Bolts-iOS) +[![Coverage Status](https://codecov.io/github/BoltsFramework/Bolts-iOS/coverage.svg?branch=master)](https://codecov.io/github/BoltsFramework/Bolts-iOS?branch=master) [![Pod Version](http://img.shields.io/cocoapods/v/Bolts.svg?style=flat)](http://cocoadocs.org/docsets/Bolts/) [![Pod Platform](http://img.shields.io/cocoapods/p/Bolts.svg?style=flat)](http://cocoadocs.org/docsets/Bolts/) [![Pod License](http://img.shields.io/cocoapods/l/Bolts.svg?style=flat)](https://github.com/BoltsFramework/Bolts-iOS/blob/master/LICENSE)