Travis: install codecov in install.sh

This commit is contained in:
Pierre LALET 2017-12-24 18:47:37 +01:00
parent 360a012550
commit af1d768087
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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