travis: Trusty has new enough lcov

This commit is contained in:
Alexey Sokolov
2015-10-17 00:28:26 +01:00
parent 90ae78533f
commit cc76522063
+1 -5
View File
@@ -40,11 +40,7 @@ install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source /opt/qt55/bin/qt55-env.sh; fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" && "$BUILD_TYPE" == "coverage" ]]; then
# when travis upgrades ubuntu, install lcov from apt-get instead
sudo apt-get build-dep lcov
wget http://archive.ubuntu.com/ubuntu/pool/main/l/lcov/lcov_1.11.orig.tar.gz
tar xf lcov_1.11.orig.tar.gz
sudo make -C lcov-1.11/ install
sudo apt-get install -y lcov
gem install coveralls-lcov
lcov --directory . --zerocounters
fi