language: c
-sudo: required
-dist: xenial
+os: linux
+dist: bionic
# don't build tags separately
if: tag IS blank
- LEAK_DETECTIVE=no
- MONOLITHIC=no
-matrix:
+jobs:
include:
- env: TEST=sonarcloud
- if: type = push
+ if: type = push AND env(SONAR_TOKEN) IS present
git:
depth: false
+ cache:
+ directories:
+ - $HOME/.sonar-cache
addons:
sonarcloud:
organization: "strongswan"
+ - env: TEST=lgtm
+ if: type = push AND env(LGTM_TOKEN) IS present
+ git:
+ depth: false
- env: TEST=osx
compiler: clang
os: osx
- env: TEST=all
- env: TEST=all
compiler: clang
+ - env: TEST=all
+ arch: arm64
+ - env: TEST=all
+ arch: ppc64le
+ - env: TEST=all
+ arch: s390x
+ - env: TEST=all
+ dist: xenial
+ - env: TEST=all
+ dist: xenial
+ compiler: clang
- env: TEST=all MONOLITHIC=yes
- env: TEST=all MONOLITHIC=yes
compiler: clang
- env: TEST=printf-builtin LEAK_DETECTIVE=yes
- env: TEST=printf-builtin LEAK_DETECTIVE=yes
compiler: clang
+ - env: TEST=nm
+ - env: TEST=nm-no-glib
+ # the crypto plugins are build-tested with clang via "all" above
- env: TEST=botan
- - env: TEST=botan
- compiler: clang
- env: TEST=botan LEAK_DETECTIVE=yes
- - env: TEST=botan LEAK_DETECTIVE=yes
- compiler: clang
- - env: TEST=openssl
+ - env: TEST=wolfssl
+ - env: TEST=wolfssl LEAK_DETECTIVE=yes
- env: TEST=openssl
- compiler: clang
- - env: TEST=openssl LEAK_DETECTIVE=yes
- env: TEST=openssl LEAK_DETECTIVE=yes
- compiler: clang
- - env: TEST=gcrypt
+ - env: TEST=openssl-1.0
+ dist: xenial
+ - env: TEST=openssl-1.0 LEAK_DETECTIVE=yes
+ dist: xenial
- env: TEST=gcrypt
- compiler: clang
- env: TEST=gcrypt LEAK_DETECTIVE=yes
- - env: TEST=gcrypt LEAK_DETECTIVE=yes
- compiler: clang
- env: TEST=apidoc