summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2022-07-24 20:37:14 +0000
committerEric Haszlakiewicz <erh+git@nimenees.com>2022-07-24 20:37:14 +0000
commit8b35a78d295663c5e0d4880e99ad225436d5882f (patch)
tree6bb53d453285e6eea5e92ffdc40665c56a1fff92
parent22773b1e5166ed0a6f8d9a5dac6e4bbb8c4d49c1 (diff)
downloadjson-c-8b35a78d295663c5e0d4880e99ad225436d5882f.tar.gz
Trim a few travis builds, update others to more recent toolchains.
-rw-r--r--.travis.yml56
1 files changed, 25 insertions, 31 deletions
diff --git a/.travis.yml b/.travis.yml
index bfc7002..769bf4f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,8 @@
language: cpp
matrix:
include:
-# gcc
-# xenial
+
+# ubuntu xenial 16.04
# gcc 5 is the default on xenial
- os: linux
dist: xenial
@@ -15,35 +15,37 @@ matrix:
- doxygen
- cmake
env: CHECK="true"
-# bionic
- - os: linux
- dist: bionic
- compiler: gcc
- env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- # gcc 7 is the default on bionic
+# ubuntu bionic 18.04
+# gcc 7 is the default on bionic
- os: linux
dist: bionic
compiler: gcc
+ addons:
+ apt:
+ packages:
+ - valgrind
+ - cppcheck
+ - doxygen
+ - cmake
env: CHECK="true"
- - os: linux
- dist: bionic
- compiler: gcc
- env: MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
-# clang
-# xenial
+# ubuntu focal fossa 20.04
+# gcc 9 is the default on bionic
- os: linux
- dist: xenial
- compiler: clang
+ dist: focal
+ compiler: gcc
addons:
apt:
- sources:
- - llvm-toolchain-xenial-5.0
packages:
- - clang-5.0
+ - valgrind
+ - cppcheck
+ - doxygen
- cmake
- env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
+ env: CHECK="true"
+
+# clang
+# xenial
- os: linux
dist: xenial
compiler: clang
@@ -56,9 +58,9 @@ matrix:
- cmake
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
- # clang-7 is the default on xenial and bionic
+ # clang-7 is the default on focal, xenial and bionic
- os: linux
- dist: xenial
+ dist: focal
compiler: clang
addons:
apt:
@@ -69,17 +71,9 @@ matrix:
- cmake
env: CHECK="true"
-# bionic
- - os: linux
- dist: bionic
- compiler: clang
- env: CHECK="true"
# osx
- os: osx
- osx_image: xcode9.4
- env: XCODE="true"
- - os: osx
- osx_image: xcode12.5
+ osx_image: xcode13.4
env: XCODE="true" CHECK="true"
# run coveralls