aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Trangoni <mjtrangoni@gmail.com>2020-05-09 12:14:59 +0200
committerMario Trangoni <mjtrangoni@gmail.com>2020-05-10 11:15:19 +0200
commit099def1dede2983aec4ecdbeddd4350b40d9e9be (patch)
treebd047f117b2578dfd29add507934ccb0043a449e
parente91d08cb8d1fd529e33f9ef9924b3a7cdfea2df0 (diff)
downloadnx-libs-099def1dede2983aec4ecdbeddd4350b40d9e9be.tar.gz
nx-libs-099def1dede2983aec4ecdbeddd4350b40d9e9be.tar.bz2
nx-libs-099def1dede2983aec4ecdbeddd4350b40d9e9be.zip
TravisCI: Upgrade CI configuration
Run newer compilers in Ubuntu Bionic 18.04. Also update gcc from v9.x to v10.x, and clang from v8.x to 9.x Fix some syntax changes in TravisCI configuration. Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
-rw-r--r--.travis.yml45
1 files changed, 27 insertions, 18 deletions
diff --git a/.travis.yml b/.travis.yml
index 687042e57..431ec780e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,19 +1,19 @@
-# Use new xenial images, should yield newer compilers and packages
-sudo: true
-dist: xenial
+# Use new bionic images, should yield newer compilers and packages
language: cpp
+os: linux
-matrix:
+jobs:
include:
- - os: linux
+ - name: "GCC 5.4"
+ dist: xenial
addons:
apt:
sources:
- - sourceline: 'deb http://archive.ubuntu.com/ubuntu main restricted universe multiverse'
- ubuntu-toolchain-r-test
packages:
- - cppcheck
# imake
+ - libxkbfile-dev
+ - xfonts-utils
- xutils-dev
# X11 libaries
- libxcomposite-dev
@@ -30,17 +30,20 @@ matrix:
env:
- MATRIX_EVAL="CC=gcc && CXX=g++"
- - STATIC_ANALYSIS="yes"
- fail_fast: true
+ - STATIC_ANALYSIS="no"
- - os: linux
+ - name: "cppcheck 1.82 + GCC 10.x"
+ dist: bionic
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- - g++-9
+ - cppcheck
+ - g++-10
# imake
+ - libxkbfile-dev
+ - xfonts-utils
- xutils-dev
# X11 libaries
- libxcomposite-dev
@@ -56,10 +59,11 @@ matrix:
- x11-xkb-utils
env:
- - MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"
- - STATIC_ANALYSIS="no"
+ - MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
+ - STATIC_ANALYSIS="yes"
- - os: linux
+ - name: "Clang 3.9"
+ dist: xenial
addons:
apt:
sources:
@@ -67,6 +71,8 @@ matrix:
packages:
- clang-3.9
# imake
+ - libxkbfile-dev
+ - xfonts-utils
- xutils-dev
# X11 libaries
- libxcomposite-dev
@@ -85,15 +91,18 @@ matrix:
- MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
- STATIC_ANALYSIS="no"
- - os: linux
+ - name: "Clang 9.x"
+ dist: bionic
addons:
apt:
sources:
- - llvm-toolchain-xenial-8
+ - llvm-toolchain-bionic-9
- ubuntu-toolchain-r-test
packages:
- - clang-8
+ - clang-9
# imake
+ - libxkbfile-dev
+ - xfonts-utils
- xutils-dev
# X11 libaries
- libxcomposite-dev
@@ -109,7 +118,7 @@ matrix:
- x11-xkb-utils
env:
- - MATRIX_EVAL="CC=clang-8 && CXX=clang++-8"
+ - MATRIX_EVAL="CC=clang-9 && CXX=clang++-9"
- STATIC_ANALYSIS="no"
before_install: