Skip to content

Commit

Permalink
feat: integrating codecov (#985)
Browse files Browse the repository at this point in the history
* added codecov yml

* travis setup

* changed line on travis

* updated README

* removed install codecov and dev in yml
  • Loading branch information
MMFernando authored Jul 3, 2019
1 parent a6a0d83 commit 70b99b3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
coverage:
precision: 2
round: down
range: "70...100"

comment:
layout: "reach, diff, flags, files"
behavior: new
require_changes: false
require_base: no
require_head: yes
branches: !master

ignore:
- "portal/tests/*"
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
install:
- pip install -U setuptools
- pip install -e .
- pip install coveralls
before_script:
- wget http://chromedriver.storage.googleapis.com/2.24/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip -d /home/travis/virtualenv/python2.7.12/bin/
Expand All @@ -37,7 +36,7 @@ jobs:
script:
- python setup.py test
after_success:
- coveralls
- bash <(curl -s https://codecov.io/bash)
- stage: deploy
install:
- pip install -U setuptools
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/ocadotechnology/codeforlife-portal.svg?branch=master)](https://travis-ci.org/ocadotechnology/codeforlife-portal)
[![Coverage Status](https://coveralls.io/repos/ocadotechnology/codeforlife-portal/badge.svg?branch=master&service=github)](https://coveralls.io/github/ocadotechnology/codeforlife-portal?branch=master)
[![codecov](https://codecov.io/gh/ocadotechnology/codeforlife-portal/branch/master/graph/badge.svg)](https://codecov.io/gh/ocadotechnology/codeforlife-portal)
[![Code Climate](https://codeclimate.com/github/ocadotechnology/codeforlife-portal/badges/gpa.svg)](https://codeclimate.com/github/ocadotechnology/codeforlife-portal)

## A [Code for Life](https://www.codeforlife.education/) repository
Expand Down

0 comments on commit 70b99b3

Please sign in to comment.