strongswan/.travis.yml

83 lines
1.7 KiB
YAML
Raw Normal View History

2014-02-26 16:49:07 +00:00
language: c
2016-08-25 12:04:22 +00:00
sudo: required
dist: trusty
# don't build tags separately
if: tag IS blank
2014-02-26 16:49:07 +00:00
compiler:
- gcc
- clang
2014-02-26 16:49:07 +00:00
cache: ccache
2014-02-26 16:49:07 +00:00
before_install:
- travis_retry ./scripts/test.sh deps
- travis_retry ./scripts/test.sh pydeps
2014-02-26 16:49:07 +00:00
before_script:
- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
2014-02-26 16:49:07 +00:00
script:
- ./scripts/test.sh
after_success:
if [ "$TEST" == "coverage" ]; then
bash <(curl -s https://codecov.io/bash);
fi
2016-12-02 10:05:30 +00:00
after_failure:
- cat config.log
2014-02-26 16:49:07 +00:00
env:
global:
- TESTS_REDUCED_KEYLENGTHS=yes
- LEAK_DETECTIVE=no
- MONOLITHIC=no
matrix:
- TEST=all
- TEST=all MONOLITHIC=yes
- TEST=all LEAK_DETECTIVE=yes
2014-02-26 16:49:07 +00:00
- TEST=default
- TEST=default MONOLITHIC=yes
- TEST=default LEAK_DETECTIVE=yes
- TEST=botan
- TEST=botan LEAK_DETECTIVE=yes
2014-02-26 16:49:07 +00:00
- TEST=openssl
- TEST=openssl LEAK_DETECTIVE=yes
- TEST=gcrypt
- TEST=gcrypt LEAK_DETECTIVE=yes
# we can't test Vstr as negative int args are not properly passed to CBs
- TEST=printf-builtin
- TEST=printf-builtin LEAK_DETECTIVE=yes
matrix:
include:
- compiler: clang
os: osx
env: TEST=osx
2018-09-10 16:46:20 +00:00
- compiler: gcc
env: TEST=sonarcloud
if: env(SONAR_TOKEN) IS present
2018-09-10 16:46:20 +00:00
git:
depth: false
addons:
sonarcloud:
organization: "strongswan"
- compiler: gcc
env: TEST=coverage
- compiler: clang
env: TEST=fuzzing MONOLITHIC=yes
- compiler: gcc
env: TEST=dist
- compiler: gcc
env: TEST=apidoc
- compiler: gcc
env: TEST=win64 MONOLITHIC=yes
# this does not work on 14.04 due to a missing @4 decoration for
# TryAcquireSRWLockExclusive in MinGW 3.1.0
- compiler: gcc
env: TEST=win32 MONOLITHIC=yes
dist: precise