test clang 4.0.1 on travis
This commit is contained in:
parent
441687ecff
commit
a378f07569
2 changed files with 8 additions and 8 deletions
14
.travis.yml
14
.travis.yml
|
@ -31,7 +31,7 @@ matrix:
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: false
|
sudo: false
|
||||||
compiler: ": clang"
|
compiler: ": clang"
|
||||||
env: JOBS=8 CXX="ccache clang++-3.9 -Qunused-arguments" CC="clang-3.9" TRIGGER=true
|
env: JOBS=8 CXX="ccache clang++-4.0 -Qunused-arguments" CC="clang-4.0" TRIGGER=true
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: [ 'ubuntu-toolchain-r-test']
|
sources: [ 'ubuntu-toolchain-r-test']
|
||||||
|
@ -39,7 +39,7 @@ matrix:
|
||||||
- os: linux
|
- os: linux
|
||||||
sudo: false
|
sudo: false
|
||||||
compiler: ": clang-coverage"
|
compiler: ": clang-coverage"
|
||||||
env: JOBS=8 COVERAGE=true CXX="ccache clang++-3.9 -Qunused-arguments" CC="clang-3.9"
|
env: JOBS=8 COVERAGE=true CXX="ccache clang++-4.0 -Qunused-arguments" CC="clang-4.0"
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: [ 'ubuntu-toolchain-r-test']
|
sources: [ 'ubuntu-toolchain-r-test']
|
||||||
|
@ -82,12 +82,12 @@ before_script:
|
||||||
- source bootstrap.sh
|
- source bootstrap.sh
|
||||||
- |
|
- |
|
||||||
if [[ $(uname -s) == 'Linux' ]]; then
|
if [[ $(uname -s) == 'Linux' ]]; then
|
||||||
mason install clang++ 3.9.1
|
mason install clang++ 4.0.1
|
||||||
export PATH=$(mason prefix clang++ 3.9.1)/bin:${PATH}
|
export PATH=$(mason prefix clang++ 4.0.1)/bin:${PATH}
|
||||||
mason install llvm-cov 3.9.1
|
mason install llvm-cov 4.0.1
|
||||||
export PATH=$(mason prefix llvm-cov 3.9.1)/bin:${PATH}
|
export PATH=$(mason prefix llvm-cov 4.0.1)/bin:${PATH}
|
||||||
which llvm-cov
|
which llvm-cov
|
||||||
export LLVM_COV="$(mason prefix llvm-cov 3.9.1)/bin/llvm-cov"
|
export LLVM_COV="$(mason prefix llvm-cov 4.0.1)/bin/llvm-cov"
|
||||||
fi
|
fi
|
||||||
- ccache --version
|
- ccache --version
|
||||||
- ccache -p || true
|
- ccache -p || true
|
||||||
|
|
|
@ -11,7 +11,7 @@ todo
|
||||||
- shrink icu data
|
- shrink icu data
|
||||||
'
|
'
|
||||||
|
|
||||||
MASON_VERSION="v0.11.1"
|
MASON_VERSION="v0.14.2"
|
||||||
|
|
||||||
function setup_mason() {
|
function setup_mason() {
|
||||||
if [[ ! -d ./.mason ]]; then
|
if [[ ! -d ./.mason ]]; then
|
||||||
|
|
Loading…
Reference in a new issue