[travis] fix apt package installs
This commit is contained in:
parent
de88b47ded
commit
915062c6a3
2 changed files with 9 additions and 9 deletions
16
.travis.yml
16
.travis.yml
|
@ -27,17 +27,17 @@ matrix:
|
||||||
compiler: ": clang"
|
compiler: ": clang"
|
||||||
env: JOBS=8 MASON_PUBLISH=true _CXX="ccache clang++-3.8 -Qunused-arguments" _CC="clang-3.8" TRIGGER=true
|
env: JOBS=8 MASON_PUBLISH=true _CXX="ccache clang++-3.8 -Qunused-arguments" _CC="clang-3.8" TRIGGER=true
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: [ 'ubuntu-toolchain-r-test']
|
sources: [ 'ubuntu-toolchain-r-test']
|
||||||
packages: [ 'libstdc++6']
|
packages: [ 'libstdc++6', 'libstdc++-5-dev']
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: false
|
sudo: false
|
||||||
compiler: ": clang-coverage"
|
compiler: ": clang-coverage"
|
||||||
env: JOBS=8 COVERAGE=true LLVM_VERSION="3.8" _CXX="ccache clang++-3.8 -Qunused-arguments" _CC="clang-3.8"
|
env: JOBS=8 COVERAGE=true _CXX="ccache clang++-3.8 -Qunused-arguments" _CC="clang-3.8"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: [ 'ubuntu-toolchain-r-test']
|
sources: [ 'ubuntu-toolchain-r-test']
|
||||||
packages: [ 'libstdc++6','libstdc++-5-dev' ]
|
packages: [ 'libstdc++6','libstdc++-5-dev' ]
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: ": clang-osx"
|
compiler: ": clang-osx"
|
||||||
# https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions
|
# https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions
|
||||||
|
@ -86,7 +86,7 @@ script:
|
||||||
- cat config.log
|
- cat config.log
|
||||||
- make
|
- make
|
||||||
- make test
|
- make test
|
||||||
- enabled ${COVERAGE} coverage
|
- enabled ${COVERAGE} export LLVM_COV="$(mason prefix clang 3.8.0)/bin/llvm-cov" && coverage
|
||||||
- enabled ${BENCH} make bench
|
- enabled ${BENCH} make bench
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
|
|
@ -92,7 +92,7 @@ configure () {
|
||||||
|
|
||||||
coverage () {
|
coverage () {
|
||||||
./mason_packages/.link/bin/cpp-coveralls \
|
./mason_packages/.link/bin/cpp-coveralls \
|
||||||
--gcov /usr/bin/llvm-cov-${LLVM_VERSION} \
|
--gcov ${LLVM_COV} \
|
||||||
--build-root . --gcov-options '\-lp' \
|
--build-root . --gcov-options '\-lp' \
|
||||||
--exclude mason_packages \
|
--exclude mason_packages \
|
||||||
--exclude .sconf_temp --exclude benchmark --exclude deps \
|
--exclude .sconf_temp --exclude benchmark --exclude deps \
|
||||||
|
|
Loading…
Reference in a new issue