From 9f770fc995f4fbb68fc1614d46d5d1be8d4b470e Mon Sep 17 00:00:00 2001 From: Eishun Kondoh Date: Tue, 23 Apr 2019 12:43:24 +0900 Subject: [PATCH] quality: Add codecov.yml --- .travis.yml | 2 +- README.md | 3 ++- codecov.yml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml index aa0e33d..f4d3472 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ otp_release: - 21.0 script: - - MIX_ENV=test mix do compile --warnings-as-errors, coveralls.json + - MIX_ENV=test mix do compile, coveralls.json after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index f836e53..d9d9b3c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Tres - an Elixir OpenFlow development platform -[![Build Status](https://travis-ci.org/shun159/tres.svg?branch=develop)](https://travis-ci.org/shun159/tres) +[![Build Status](https://travis-ci.org/shun159/tres.svg?branch=develop)](https://travis-ci.org/shun159/tres) +[![codecov](https://codecov.io/gh/shun159/tres/branch/develop/graph/badge.svg)](https://codecov.io/gh/shun159/tres) ## Overview diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..0cf380b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +codecov: + token: db65a412-7a83-4c38-ad5b-9c68677c6680