]> git.ipfire.org Git - thirdparty/strongswan.git/blame - .travis.yml
addrblock: Support an optional non-strict mode accepting certs without addrblock
[thirdparty/strongswan.git] / .travis.yml
CommitLineData
d151cd28
TB
1language: c
2
94a69986
TB
3sudo: required
4dist: trusty
5
d151cd28
TB
6compiler:
7 - gcc
d62b6636 8 - clang
d151cd28
TB
9
10before_install:
60a0bb67 11 - ./scripts/test.sh deps
75a84579 12 - ./scripts/test.sh pydeps
d151cd28 13
bf5754ad 14before_script:
8486b3b4 15 - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
bf5754ad 16
d151cd28 17script:
d151cd28
TB
18 - ./scripts/test.sh
19
c7c9a50a
TB
20after_failure:
21 - cat config.log
22
d151cd28
TB
23env:
24 global:
25 - TESTS_REDUCED_KEYLENGTHS=yes
26 - LEAK_DETECTIVE=no
27 - MONOLITHIC=no
28 matrix:
29 - TEST=default
30 - TEST=default MONOLITHIC=yes
31 - TEST=default LEAK_DETECTIVE=yes
32 - TEST=openssl
33 - TEST=openssl LEAK_DETECTIVE=yes
d151cd28 34 - TEST=gcrypt
3aa78550 35 - TEST=gcrypt LEAK_DETECTIVE=yes
316aa4b4
TB
36 # we can't test Vstr as negative int args are not properly passed to CBs
37 - TEST=printf-builtin
38 - TEST=printf-builtin LEAK_DETECTIVE=yes
d151cd28
TB
39 - TEST=all
40 - TEST=all MONOLITHIC=yes
29b73775 41 - TEST=all LEAK_DETECTIVE=yes
d62b6636
TB
42
43matrix:
44 include:
45 - compiler: gcc
46 env: TEST=dist
4e8f5a18
TB
47 - compiler: gcc
48 env: TEST=apidoc
d930d184 49 - compiler: gcc
fd372e13 50 env: TEST=win64 MONOLITHIC=yes
39d544d5
TB
51 # this does not work on 14.04 due to a missing @4 decoration for
52 # TryAcquireSRWLockExclusive in MinGW 3.1.0
fd372e13
MW
53 - compiler: gcc
54 env: TEST=win32 MONOLITHIC=yes
39d544d5 55 dist: precise
e36b1e2e
TB
56 - compiler: clang
57 os: osx
58 env: TEST=osx