From 06b53d3147da624c205d562c3ec4d356ef89c954 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 12 May 2017 10:00:19 +0200 Subject: [PATCH] Add code coverage info --- .travis.yml | 5 ++++- README.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 452b07e..17a5ae7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,4 +14,7 @@ env: - ARCH=x86_64 script: - - dub test --arch=$ARCH + - dub test -b unittest-cov --arch=$ARCH + +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index abc6fd6..19a386c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Build Status](https://travis-ci.org/funkwerk/accessors.svg?branch=master)](https://travis-ci.org/funkwerk/accessors) [![License](https://img.shields.io/badge/license-BSL_1.0-blue.svg)](https://raw.githubusercontent.com/funkwerk/accessors/master/LICENSE) [![Dub Version](https://img.shields.io/dub/v/accessors.svg)](https://code.dlang.org/packages/accessors) +[![codecov](https://codecov.io/gh/funkwerk/accessors/branch/master/graph/badge.svg)](https://codecov.io/gh/funkwerk/accessors) `accessors` module allows to generate getters and setters automatically.