From c04418a625159144c33c00928234d84dd7a2bf60 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 2 Dec 2018 23:26:44 -0500 Subject: [PATCH] Travis code coverage fixes --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e8c3665..5671fbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,13 @@ dist: trusty language: rust # Used during coverage to build kcov -addons.apt.packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - binutils-dev +addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + - binutils-dev matrix: include: @@ -41,7 +43,7 @@ script: after_script: set +e after_success: | # Build test coverage statistics - if [ -z "$CODECOV" ]; then + if [ -n "$CODECOV" ]; then wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && \ tar xzf master.tar.gz && \ cd kcov-master && \