From af1d76808746c452c8d285354865b8735b8907db Mon Sep 17 00:00:00 2001 From: Pierre LALET Date: Sun, 24 Dec 2017 18:47:37 +0100 Subject: [PATCH] Travis: install codecov in install.sh --- .travis.yml | 4 +--- .travis/install.sh | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 868cb3554..dab0f88cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,7 +121,5 @@ install: bash .travis/install.sh script: bash .travis/test.sh after_success: - - if [ "$SCAPY_COVERAGE" = "yes" ]; then pip install codecov; fi # With UTScapy, the coverage dot file is located in the test directory - - if [ "$SCAPY_COVERAGE" = "yes" ]; then coverage combine ./test; fi - - if [ "$SCAPY_COVERAGE" = "yes" ]; then codecov; fi + - if [ "$SCAPY_COVERAGE" = "yes" ]; then coverage combine ./test; codecov; fi diff --git a/.travis/install.sh b/.travis/install.sh index 9ce78f6c0..11ee4d038 100644 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -22,6 +22,7 @@ if [ "$SCAPY_COVERAGE" = "yes" ] then $SCAPY_SUDO `which pip` install $PIP_INSTALL_FLAGS -U coverage $SCAPY_SUDO `which pip` install $PIP_INSTALL_FLAGS -U PyX + $SCAPY_SUDO `which pip` install $PIP_INSTALL_FLAGS -U codecov fi # Install pcap & dnet