aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2016-04-07 12:48:51 +0200
committerMarco Poletti <poletti.marco@gmail.com>2016-04-07 12:53:10 +0200
commit054cd82cfe62a615a19783e4bf4b58444bcbf9db (patch)
tree4b203e7ebe8f5c5fbc93c01ed4d4e40e60011dc0 /.travis.yml
parentab41f08be295fd1a70cf1f76559c5b7d52aae351 (diff)
downloadgoogle-fruit-054cd82cfe62a615a19783e4bf4b58444bcbf9db.tar.gz
Some changes to the build matrix used for Travis CI:
* Only run with the newest and oldest version of any given compiler, not all versions in between * Never run with compilers older than the default compiler shipped in that Ubuntu version * Also start running some tests with Ubuntu 16.04 [ci skip]
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml72
1 files changed, 20 insertions, 52 deletions
diff --git a/.travis.yml b/.travis.yml
index 1117325..5568f87 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,107 +26,75 @@ matrix:
# Report an error as soon as the first matrix entry fails.
fast_finish: true
include:
- # Ubuntu 15.10
- # GCC on Linux
+ # Ubuntu 16.04
+ # GCC
- os: linux
compiler: gcc
- # ASAN (aka '-fsanitize=undefined,address') is not supported in GCC 4.8.
- env: UBUNTU=15.10 COMPILER=gcc-4.8 NO_ASAN=1
+ env: UBUNTU=16.04 COMPILER=gcc-5
+ # Clang with libstdc++
- os: linux
- compiler: gcc
- env: UBUNTU=15.10 COMPILER=gcc-4.9
+ compiler: clang
+ env: UBUNTU=16.04 COMPILER=clang-3.8 STL=libstdc++
+ # Clang with libc++
+ - os: linux
+ compiler: clang
+ env: UBUNTU=16.04 COMPILER=clang-3.8 STL=libc++
+
+ # Ubuntu 15.10
+ # GCC
- os: linux
compiler: gcc
env: UBUNTU=15.10 COMPILER=gcc-5
- # Clang on Linux with libstdc++
- - os: linux
- compiler: clang
- env: UBUNTU=15.10 COMPILER=clang-3.5 STL=libstdc++
+ # Clang with libstdc++
- os: linux
compiler: clang
env: UBUNTU=15.10 COMPILER=clang-3.6 STL=libstdc++
- os: linux
compiler: clang
- # ASAN is disabled because it would hit this error:
- # ld: cannot find [...]/libclang_rt.asan-x86_64.a
- env: UBUNTU=15.10 COMPILER=clang-3.7 STL=libstdc++ NO_ASAN=1
- - os: linux
- compiler: clang
env: UBUNTU=15.10 COMPILER=clang-3.8 STL=libstdc++
- # Clang on Linux with libc++
- - os: linux
- compiler: clang
- env: UBUNTU=15.10 COMPILER=clang-3.5 STL=libc++
+ # Clang with libc++
- os: linux
compiler: clang
env: UBUNTU=15.10 COMPILER=clang-3.6 STL=libc++
- os: linux
compiler: clang
- # ASAN is disabled because it would hit this error:
- # ld: cannot find [...]/libclang_rt.asan-x86_64.a
- env: UBUNTU=15.10 COMPILER=clang-3.7 STL=libc++ NO_ASAN=1
- - os: linux
- compiler: clang
env: UBUNTU=15.10 COMPILER=clang-3.8 STL=libc++
-
# Ubuntu 14.04
- # GCC on Linux
+ # GCC
- os: linux
compiler: gcc
# ASAN (aka '-fsanitize=undefined,address') is not supported in GCC 4.8.
env: UBUNTU=14.04 COMPILER=gcc-4.8 NO_ASAN=1
- os: linux
compiler: gcc
- env: UBUNTU=14.04 COMPILER=gcc-4.9
- - os: linux
- compiler: gcc
env: UBUNTU=14.04 COMPILER=gcc-5
- # Clang on Linux with libstdc++
+ # Clang with libstdc++
- os: linux
compiler: clang
env: UBUNTU=14.04 COMPILER=clang-3.5 STL=libstdc++
- os: linux
compiler: clang
- env: UBUNTU=14.04 COMPILER=clang-3.6 STL=libstdc++
- - os: linux
- compiler: clang
- # ASAN is disabled because it would hit this error:
- # ld: cannot find [...]/libclang_rt.asan-x86_64.a
- env: UBUNTU=14.04 COMPILER=clang-3.7 STL=libstdc++ NO_ASAN=1
- - os: linux
- compiler: clang
env: UBUNTU=14.04 COMPILER=clang-3.8 STL=libstdc++
- # Clang on Linux with libc++
+ # Clang with libc++
- os: linux
compiler: clang
env: UBUNTU=14.04 COMPILER=clang-3.5 STL=libc++
- os: linux
compiler: clang
- env: UBUNTU=14.04 COMPILER=clang-3.6 STL=libc++
- - os: linux
- compiler: clang
- # ASAN is disabled because it would hit this error:
- # ld: cannot find [...]/libclang_rt.asan-x86_64.a
- env: UBUNTU=14.04 COMPILER=clang-3.7 STL=libc++ NO_ASAN=1
- - os: linux
- compiler: clang
# ASAN is disabled because Ubuntu Trusty uses libc++ 1.x that doesn't work
# with ASAN, it fails with this error:
# /usr/include/c++/v1/memory:1550:35: runtime error: null pointer passed as argument 2, which is declared to never be null
env: UBUNTU=14.04 COMPILER=clang-3.8 STL=libc++ NO_ASAN=1
-
- # GCC on OS X
+ # OS X
+ # GCC
- os: osx
compiler: gcc
# ASAN (aka '-fsanitize=undefined,address') is not supported in GCC 4.8.
env: COMPILER=gcc-4.8 NO_ASAN=1
- os: osx
compiler: gcc
- env: COMPILER=gcc-4.9
- - os: osx
- compiler: gcc
env: COMPILER=gcc-5
# Clang on OS X (with libc++)
- os: osx