From 5ca570e593b2ffb5b93bc6ed04cb0f4c0ee77a3f Mon Sep 17 00:00:00 2001 From: ziajka Date: Mon, 12 Mar 2018 13:43:03 +0100 Subject: [PATCH 1/2] Codecov support --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 54442ef0..b28377c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,8 +40,12 @@ before_script: - yarn # greenkeeper-lockfile support - greenkeeper-lockfile-update + - npm install -g codecov -script: yarn ng test --watch=false +script: yarn ng test --watch=false --code-coverage + +after_success: + - codecov after_script: # greenkeeper-lockfile support From ac534093d1f93df4a1929af198ac3694ba667f89 Mon Sep 17 00:00:00 2001 From: ziajka Date: Mon, 12 Mar 2018 14:22:02 +0100 Subject: [PATCH 2/2] Code coverage, Fixes: #51 --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 084882cf..1ff2bbba 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ # gns3-web-ui -[![Greenkeeper badge](https://badges.greenkeeper.io/GNS3/gns3-web-ui.svg)](https://greenkeeper.io/) [![Travis CI](https://api.travis-ci.org/GNS3/gns3-web-ui.svg?branch=master)](https://travis-ci.org) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/GNS3/gns3-web-ui?branch=master&svg=true)](https://www.appveyor.com/) [![CircleCI](https://circleci.com/gh/GNS3/gns3-web-ui/tree/master.png)](https://circleci.com/gh/GNS3/gns3-web-ui/tree/master.png) +[![Greenkeeper badge](https://badges.greenkeeper.io/GNS3/gns3-web-ui.svg)](https://greenkeeper.io/) +[![Travis CI](https://api.travis-ci.org/GNS3/gns3-web-ui.svg?branch=master)](https://travis-ci.org) +[![AppVeyor](https://ci.appveyor.com/api/projects/status/github/GNS3/gns3-web-ui?branch=master&svg=true)](https://www.appveyor.com/) +[![CircleCI](https://circleci.com/gh/GNS3/gns3-web-ui/tree/master.png)](https://circleci.com/gh/GNS3/gns3-web-ui/tree/master.png) +[![codecov](https://codecov.io/gh/GNS3/gns3-web-ui/branch/master/graph/badge.svg)](https://codecov.io/gh/GNS3/gns3-web-ui) + Test WebUI implementation for GNS3.