From 1af4f0597cb013ef95d664d60519ec2fbf603c8c Mon Sep 17 00:00:00 2001 From: voutcn Date: Sun, 28 Jul 2019 20:35:30 -0700 Subject: [PATCH] use lcov 1.14 in travis.ci & flat square badges --- .travis.yml | 19 +++++++++++-------- README.md | 5 ++++- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04b25ea..2bf2bbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ dist: xenial before_install: - sudo apt-get update - - sudo apt-get install -y lcov + - sudo apt-get install -y wget language: python python: - "2.7" @@ -16,11 +16,14 @@ script: - megahit --test --no-hw-accel after_success: # Create lcov report - - lcov --capture --directory . --output-file coverage.info.1 - - lcov --remove coverage.info.1 '/usr/*' --output-file coverage.info.2 # filter system-files - - lcov --remove coverage.info.2 '*xxhash/*' --output-file coverage.info.3 # filter xxhash-files - - lcov --remove coverage.info.3 '*parallel_hashmap/*' --output-file coverage.info.4 # filter parallel-hashmap-files - - lcov --remove coverage.info.4 '*pprintpp/*' --output-file coverage.info.5 # filter pprintpp files - - lcov --list coverage.info.5 # debug info + - wget http://downloads.sourceforge.net/ltp/lcov-1.14.tar.gz + - tar zvxf lcov-1.14.tar.gz + - export PATH=lcov-1.14/bin/:${PATH} + - lcov --capture --directory . --output-file coverage.info + - lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter system-files + - lcov --remove coverage.info '*xxhash/*' --output-file coverage.info # filter xxhash-files + - lcov --remove coverage.info '*parallel_hashmap/*' --output-file coverage.info # filter parallel-hashmap-files + - lcov --remove coverage.info '*pprintpp/*' --output-file coverage.info # filter pprintpp files + - lcov --list coverage.info # debug info # Uploading report to CodeCov - - bash <(curl -s https://codecov.io/bash) -f coverage.info.5 || echo "Codecov did not collect coverage reports" \ No newline at end of file + - bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports" \ No newline at end of file diff --git a/README.md b/README.md index a552e20..8cea179 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ MEGAHIT ======= -[![BioConda Install](https://img.shields.io/conda/dn/bioconda/megahit.svg?style=flag&label=BioConda%20install)](https://anaconda.org/bioconda/megahit) [![Build Status](https://travis-ci.org/voutcn/megahit.svg?branch=master)](https://travis-ci.org/voutcn/megahit) [![codecov](https://codecov.io/gh/voutcn/megahit/branch/master/graph/badge.svg)](https://codecov.io/gh/voutcn/megahit) +[![BioConda Install](https://img.shields.io/conda/dn/bioconda/megahit.svg?style=flat-square&label=BioConda%20install)](https://anaconda.org/bioconda/megahit) +[![Downloads](https://img.shields.io/github/downloads/voutcn/megahit/total?style=flat-square)](https://github.com/voutcn/megahit/releases) +[![Build Status](https://img.shields.io/travis/voutcn/megahit?style=flat-square)](https://travis-ci.org/voutcn/megahit) +[![codecov](https://img.shields.io/codecov/c/github/voutcn/megahit?style=flat-square)](https://codecov.io/gh/voutcn/megahit) MEGAHIT is an ultra-fast and memory-efficient NGS assembler. It is optimized for metagenomes, but also works well on generic single genome assembly (small or mammalian size) and single-cell assembly.