2014-02-26 16:49:07 +00:00
|
|
|
language: c
|
|
|
|
|
2016-08-25 12:04:22 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
2014-02-26 16:49:07 +00:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2014-03-01 07:40:22 +00:00
|
|
|
- clang
|
2014-02-26 16:49:07 +00:00
|
|
|
|
|
|
|
before_install:
|
2014-03-01 07:49:52 +00:00
|
|
|
- ./scripts/test.sh deps
|
2015-03-18 13:28:17 +00:00
|
|
|
- ./scripts/test.sh pydeps
|
2014-02-26 16:49:07 +00:00
|
|
|
|
2015-12-15 09:10:30 +00:00
|
|
|
before_script:
|
2016-09-23 08:08:13 +00:00
|
|
|
- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
|
2015-12-15 09:10:30 +00:00
|
|
|
|
2014-02-26 16:49:07 +00:00
|
|
|
script:
|
|
|
|
- ./scripts/test.sh
|
|
|
|
|
2017-03-15 09:19:02 +00:00
|
|
|
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=default
|
|
|
|
- TEST=default MONOLITHIC=yes
|
|
|
|
- TEST=default LEAK_DETECTIVE=yes
|
|
|
|
- TEST=openssl
|
|
|
|
- TEST=openssl LEAK_DETECTIVE=yes
|
|
|
|
- TEST=gcrypt
|
2015-04-13 10:13:56 +00:00
|
|
|
- TEST=gcrypt LEAK_DETECTIVE=yes
|
2014-03-03 17:44:29 +00:00
|
|
|
# we can't test Vstr as negative int args are not properly passed to CBs
|
|
|
|
- TEST=printf-builtin
|
|
|
|
- TEST=printf-builtin LEAK_DETECTIVE=yes
|
2014-02-26 16:49:07 +00:00
|
|
|
- TEST=all
|
|
|
|
- TEST=all MONOLITHIC=yes
|
2014-03-25 10:46:17 +00:00
|
|
|
- TEST=all LEAK_DETECTIVE=yes
|
2014-03-01 07:40:22 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
env: TEST=dist
|
2016-06-30 08:34:54 +00:00
|
|
|
- compiler: gcc
|
|
|
|
env: TEST=apidoc
|
2017-03-15 09:19:02 +00:00
|
|
|
- compiler: gcc
|
|
|
|
env: TEST=coverage
|
2014-05-08 15:08:42 +00:00
|
|
|
- compiler: gcc
|
2014-06-05 12:07:21 +00:00
|
|
|
env: TEST=win64 MONOLITHIC=yes
|
2016-09-20 12:30:22 +00:00
|
|
|
# this does not work on 14.04 due to a missing @4 decoration for
|
|
|
|
# TryAcquireSRWLockExclusive in MinGW 3.1.0
|
2014-06-05 12:07:21 +00:00
|
|
|
- compiler: gcc
|
|
|
|
env: TEST=win32 MONOLITHIC=yes
|
2016-09-20 12:30:22 +00:00
|
|
|
dist: precise
|
2015-11-16 15:44:03 +00:00
|
|
|
- compiler: clang
|
|
|
|
os: osx
|
|
|
|
env: TEST=osx
|