Force install clang-6.0.

This commit is contained in:
Alek Mosingiewicz 2018-08-20 05:18:54 +02:00
parent 4c208d3019
commit 841d009235

View File

@ -42,11 +42,11 @@ matrix:
- os: osx - os: osx
compiler: clang compiler: clang
#osx_image: xcode10 #osx_image: xcode10
env: CLANG_VER=6.0 env: CLANG_VER="6.0"
- os: osx - os: osx
compiler: clang compiler: clang
#osx_image: xcode10 #osx_image: xcode10
env: CLANG_VER=6.0 CMAKE_OPTIONS="-D DYNLOAD_ENABLED:BOOL=FALSE -D MULTITHREAD_SUPPORT_ENABLED:BOOL=FALSE -D USE_STD_MAKE_SHARED:BOOL=TRUE" BUILD_ONLY=1 env: CLANG_VER="6.0" CMAKE_OPTIONS="-D DYNLOAD_ENABLED:BOOL=FALSE -D MULTITHREAD_SUPPORT_ENABLED:BOOL=FALSE -D USE_STD_MAKE_SHARED:BOOL=TRUE" BUILD_ONLY=1
env: env:
global: global:
@ -59,6 +59,10 @@ before_install:
- if [ "${CLANG_VER}" != "" ]; then export CXX="clang++-$CLANG_VER" CC="clang-$CLANG_VER" ; fi - if [ "${CLANG_VER}" != "" ]; then export CXX="clang++-$CLANG_VER" CC="clang-$CLANG_VER" ; fi
- pip install --user cpp-coveralls - pip install --user cpp-coveralls
install:
- sudo apt-get install --allow-unauthenticated -qq clang-6.0
- sudo apt-get install --allow-unauthenticated -qq clang++-6.0
script: script:
- cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug $CMAKE_OPTIONS . - cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug $CMAKE_OPTIONS .
- cmake --build . -- -j2 - cmake --build . -- -j2