Skip to content

Commit

Permalink
add codecoverage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjpage committed Feb 5, 2019
1 parent 20570ea commit 38fc46d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
@@ -1,6 +1,7 @@
language: python
python:
- "3.5"
- "3.6"
cache:
directories:
- "$HOME/.cache/pip"
Expand All @@ -19,5 +20,10 @@ install:
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION barrnap blast
- source activate test-environment
- python3 setup.py install
before_script:
- pip3 install codecov
script:
- "./run_tests.sh"
- coverage run setup.py test
after_success:
- codecov

1 change: 1 addition & 0 deletions README.md
@@ -1,6 +1,7 @@
# Socru
[![Build Status](https://travis-ci.org/quadram-institute-bioscience/socru.svg?branch=master)](https://travis-ci.org/quadram-institute-bioscience/socru)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-brightgreen.svg)](https://github.com/quadram-institute-bioscience/socru/blob/master/LICENSE)
[![codecov](https://codecov.io/gh/andrewjpage/socru/branch/master/graph/badge.svg)](https://codecov.io/gh/andrewjpage/socru)
[![Docker Build Status](https://img.shields.io/docker/build/andrewjpage/socru.svg)](https://hub.docker.com/r/andrewjpage/socru)
[![Docker Pulls](https://img.shields.io/docker/pulls/andrewjpage/socru.svg)](https://hub.docker.com/r/andrewjpage/socru)

Expand Down

0 comments on commit 38fc46d

Please sign in to comment.