[F] Fix build for clang

This commit is contained in:
seleznevae 2018-03-17 21:33:48 +03:00
parent ab653b9181
commit 59451ed926

View File

@ -1,8 +1,9 @@
language: C language: C
sudo: required # to prevent fail of executables build with clang and sanitizers #sudo: required # to prevent fail of executables build with clang and sanitizers
matrix: matrix:
include: include:
- os: linux - os: linux
sudo: false
compiler: gcc compiler: gcc
env: GCC_BUILD=ON env: GCC_BUILD=ON
before_script: before_script:
@ -10,11 +11,14 @@ matrix:
after_success: after_success:
- coveralls --build-root build --include src --include tests --gcov-options '\-lp' - coveralls --build-root build --include src --include tests --gcov-options '\-lp'
- os: linux - os: linux
sudo: required # to prevent fail of executables build with clang and sanitizers
compiler: clang compiler: clang
env: GCC_BUILD=OFF env: GCC_BUILD=OFF
script: script:
# Print all environment variables to aid in CI development # Print all environment variables to aid in CI development
- printenv - printenv