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