mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-21 03:12:41 +08:00
Update .travis.yml
This commit is contained in:
parent
7951338d27
commit
d5a79ad5d7
19
.travis.yml
19
.travis.yml
@ -5,6 +5,7 @@
|
|||||||
sudo: required
|
sudo: required
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
# gcc 4.8
|
||||||
addons: &gcc48
|
addons: &gcc48
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
@ -12,6 +13,7 @@ addons: &gcc48
|
|||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
|
|
||||||
|
# gcc 7.0
|
||||||
addons: &gcc7
|
addons: &gcc7
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
@ -19,6 +21,7 @@ addons: &gcc7
|
|||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
|
|
||||||
|
# Clang 3.5
|
||||||
addons: &clang35
|
addons: &clang35
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
@ -26,6 +29,15 @@ addons: &clang35
|
|||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- llvm-toolchain-precise-3.5
|
- llvm-toolchain-precise-3.5
|
||||||
|
|
||||||
|
# Clang 7.0
|
||||||
|
addons: &clang70
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- clang-7
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
- llvm-toolchain-trusty-7
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -55,10 +67,12 @@ matrix:
|
|||||||
|
|
||||||
# Test clang-7.0: C++11, Build=Debug, ASAN=On
|
# Test clang-7.0: C++11, Build=Debug, ASAN=On
|
||||||
- env: CLANG_VERSION=7.0 BUILD_TYPE=Debug CPP=11 ASAN=On TSAN=Off
|
- env: CLANG_VERSION=7.0 BUILD_TYPE=Debug CPP=11 ASAN=On TSAN=Off
|
||||||
os: linux
|
os: linux
|
||||||
|
addons: *clang70
|
||||||
|
|
||||||
- env: CLANG_VERSION=7.0 BUILD_TYPE=Release CPP=11 ASAN=On TSAN=Off
|
- env: CLANG_VERSION=7.0 BUILD_TYPE=Release CPP=11 ASAN=On TSAN=Off
|
||||||
os: linux
|
os: linux
|
||||||
|
addons: *clang70
|
||||||
|
|
||||||
# osx
|
# osx
|
||||||
- env: BUILD_TYPE=Release CPP=11 ASAN=Off TSAN=Off
|
- env: BUILD_TYPE=Release CPP=11 ASAN=Off TSAN=Off
|
||||||
@ -66,7 +80,6 @@ matrix:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
|
- if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
|
||||||
- if [ -n "$CLANG_VERSION" ]; then export CXX="clang++-${CLANG_VERSION}" CC="clang-${CLANG_VERSION}"; fi
|
- if [ -n "$CLANG_VERSION" ]; then export CXX="clang++-${CLANG_VERSION}" CC="clang-${CLANG_VERSION}"; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user