From 1b0bd09738735f2b880ea8e479eeec5a6305f132 Mon Sep 17 00:00:00 2001 From: Arek Holko Date: Sat, 4 Feb 2017 13:18:10 +0100 Subject: [PATCH] Add support for codecov (#8) * Add support for codecov to .travis.yml * Add .codecov.yml * Add codecov badge --- .codecov.yml | 8 ++++++++ .travis.yml | 2 ++ README.md | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..73907c1 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,8 @@ +coverage: + ignore: + - Pods/* + status: + patch: false + changes: false +comment: false + diff --git a/.travis.yml b/.travis.yml index 07e613a..d26da2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,6 @@ before_install: script: - xcodebuild -scheme IBAnalyzer -workspace IBAnalyzer.xcworkspace - xcodebuild test -scheme IBAnalyzer -workspace IBAnalyzer.xcworkspace +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index 8ddd4b2..fc054a1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/fastred/IBAnalyzer.svg?branch=master)](https://travis-ci.org/fastred/IBAnalyzer) +[![Build Status](https://travis-ci.org/fastred/IBAnalyzer.svg?branch=master)](https://travis-ci.org/fastred/IBAnalyzer) [![codecov](https://codecov.io/gh/fastred/IBAnalyzer/branch/master/graph/badge.svg)](https://codecov.io/gh/fastred/IBAnalyzer) # IBAnalyzer