CI: travis: switch linux builds to clang-9

let us use clang-9 instead of default clang-7 for linux builds.
This commit is contained in:
Ilya Shipitsin 2020-01-24 11:36:41 +05:00 committed by Willy Tarreau
parent def595e2df
commit 663825e5d0
1 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ env:
addons: addons:
apt: apt:
update: true update: true
packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, socat ] packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, clang-9, socat ]
homebrew: homebrew:
update: true update: true
packages: [ socat ] packages: [ socat ]
@ -41,12 +41,12 @@ matrix:
arch: amd64 arch: amd64
if: type != cron if: type != cron
compiler: clang compiler: clang
env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d CC=clang-9
- os: linux - os: linux
arch: arm64 arch: arm64
if: type != cron if: type != cron
compiler: clang compiler: clang
env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d CC=clang-9
- os: linux - os: linux
arch: s390x arch: s390x
if: type != cron if: type != cron
@ -65,27 +65,27 @@ matrix:
- os: linux - os: linux
if: type == cron if: type == cron
compiler: clang compiler: clang
env: TARGET=linux-glibc OPENSSL_VERSION=1.1.0l FIFTYONEDEGREES_SRC="contrib/51d/src/trie" env: TARGET=linux-glibc OPENSSL_VERSION=1.1.0l FIFTYONEDEGREES_SRC="contrib/51d/src/trie" CC=clang-9
- os: linux - os: linux
if: type != cron if: type != cron
compiler: clang compiler: clang
env: TARGET=linux-glibc LIBRESSL_VERSION=3.0.2 env: TARGET=linux-glibc LIBRESSL_VERSION=3.0.2 CC=clang-9
- os: linux - os: linux
if: type == cron if: type == cron
compiler: clang compiler: clang
env: TARGET=linux-glibc LIBRESSL_VERSION=2.9.2 env: TARGET=linux-glibc LIBRESSL_VERSION=2.9.2 CC=clang-9
- os: linux - os: linux
if: type == cron if: type == cron
compiler: clang compiler: clang
env: TARGET=linux-glibc LIBRESSL_VERSION=2.8.3 EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" env: TARGET=linux-glibc LIBRESSL_VERSION=2.8.3 EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" CC=clang-9
- os: linux - os: linux
if: type == cron if: type == cron
compiler: clang compiler: clang
env: TARGET=linux-glibc BORINGSSL=yes env: TARGET=linux-glibc BORINGSSL=yes CC=clang-9
- os: linux - os: linux
if: type != cron if: type != cron
compiler: clang compiler: clang
env: TARGET=linux-glibc FLAGS= env: TARGET=linux-glibc FLAGS= CC=clang-9
- os: osx - os: osx
if: type != cron if: type != cron
compiler: clang compiler: clang
@ -93,7 +93,7 @@ matrix:
- os: linux - os: linux
if: type == cron if: type == cron
compiler: clang compiler: clang
env: TARGET=linux-glibc FLAGS="USE_SLZ=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_LUA=1 USE_OPENSSL=1 USE_SYSTEMD=1 USE_WURFL=1 WURFL_INC=contrib/wurfl WURFL_LIB=contrib/wurfl USE_51DEGREES=1" env: TARGET=linux-glibc FLAGS="USE_SLZ=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_LUA=1 USE_OPENSSL=1 USE_SYSTEMD=1 USE_WURFL=1 WURFL_INC=contrib/wurfl WURFL_LIB=contrib/wurfl USE_51DEGREES=1" CC=clang-9
before_script: before_script:
- git clone http://git.1wt.eu/git/libslz.git/ - git clone http://git.1wt.eu/git/libslz.git/
- cd libslz && make && make PREFIX=${HOME}/opt install && cd .. - cd libslz && make && make PREFIX=${HOME}/opt install && cd ..