diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-06-29 22:10:09 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-06-29 22:10:09 +0200 |
commit | e10302404648d76ebd8fb50f95583386fdd69d0b (patch) | |
tree | 5b3bc826e66c7fac8eaba7f9261a7715d4c3202f /.travis.yml | |
parent | a3d493a60de3c704b252775205bcafc3a175c853 (diff) | |
parent | 61859da35edd6eada211eb630bf8ffa2d26288c1 (diff) | |
download | nx-libs-e10302404648d76ebd8fb50f95583386fdd69d0b.tar.gz nx-libs-e10302404648d76ebd8fb50f95583386fdd69d0b.tar.bz2 nx-libs-e10302404648d76ebd8fb50f95583386fdd69d0b.zip |
Merge branch 'mjtrangoni-add-pvs-studio' into 3.6.x
Attributs GH PR #936: https://github.com/ArcticaProject/nx-libs/pull/936
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 46 |
1 files changed, 43 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 431ec780e..776c1a4bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,14 @@ # Use new bionic images, should yield newer compilers and packages language: cpp os: linux +dist: xenial jobs: include: - name: "GCC 5.4" - dist: xenial addons: apt: + update: true sources: - ubuntu-toolchain-r-test packages: @@ -31,11 +32,13 @@ jobs: env: - MATRIX_EVAL="CC=gcc && CXX=g++" - STATIC_ANALYSIS="no" + - PVS_ANALYZE="no" - name: "cppcheck 1.82 + GCC 10.x" dist: bionic addons: apt: + update: true sources: - ubuntu-toolchain-r-test packages: @@ -61,11 +64,43 @@ jobs: env: - MATRIX_EVAL="CC=gcc-10 && CXX=g++-10" - STATIC_ANALYSIS="yes" + - PVS_ANALYZE="no" + + - name: "GCC 10.x + PVS-Studio" + dist: bionic + addons: + apt: + update: true + sources: + - ubuntu-toolchain-r-test + packages: + - g++-10 + # imake + - libxkbfile-dev + - xfonts-utils + - xutils-dev + # X11 libaries + - libxcomposite-dev + - libxdamage-dev + - libxfont-dev + - libxinerama-dev + - libxpm-dev + - libxrandr-dev + - libxtst-dev + - x11proto-fonts-dev + # soft requirements + - quilt + - x11-xkb-utils + + env: + - MATRIX_EVAL="CC=gcc-10 && CXX=g++-10" + - STATIC_ANALYSIS="no" + - PVS_ANALYZE="yes" - name: "Clang 3.9" - dist: xenial addons: apt: + update: true sources: - llvm-toolchain-xenial-3.9 packages: @@ -90,11 +125,13 @@ jobs: env: - MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9" - STATIC_ANALYSIS="no" + - PVS_ANALYZE="no" - name: "Clang 9.x" dist: bionic addons: apt: + update: true sources: - llvm-toolchain-bionic-9 - ubuntu-toolchain-r-test @@ -120,13 +157,16 @@ jobs: env: - MATRIX_EVAL="CC=clang-9 && CXX=clang++-9" - STATIC_ANALYSIS="no" + - PVS_ANALYZE="no" before_install: - eval "${MATRIX_EVAL}" + - travis_retry bash .pvs-studio.sh before_install + script: # run static analysis tools - ./run-static-analysis.sh # print compiler version - ${CC} --version # build all packages - - make + - travis_retry bash .pvs-studio.sh build_script |