]> git.ipfire.org Git - thirdparty/strongswan.git/blame - .travis.yml
NEWS: Added some news for 5.7.0
[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 9
1bbb736e
TB
10cache: ccache
11
d151cd28 12before_install:
f5481496
TB
13 - travis_retry ./scripts/test.sh deps
14 - travis_retry ./scripts/test.sh pydeps
d151cd28 15
bf5754ad 16before_script:
8486b3b4 17 - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
bf5754ad 18
d151cd28 19script:
d151cd28
TB
20 - ./scripts/test.sh
21
42f7c989
TB
22after_success:
23 if [ "$TEST" == "coverage" ]; then
24 bash <(curl -s https://codecov.io/bash);
25 fi
26
c7c9a50a
TB
27after_failure:
28 - cat config.log
29
d151cd28
TB
30env:
31 global:
32 - TESTS_REDUCED_KEYLENGTHS=yes
33 - LEAK_DETECTIVE=no
34 - MONOLITHIC=no
35 matrix:
36 - TEST=default
37 - TEST=default MONOLITHIC=yes
38 - TEST=default LEAK_DETECTIVE=yes
9ee23d5e
TB
39 - TEST=botan
40 - TEST=botan LEAK_DETECTIVE=yes
d151cd28
TB
41 - TEST=openssl
42 - TEST=openssl LEAK_DETECTIVE=yes
d151cd28 43 - TEST=gcrypt
3aa78550 44 - TEST=gcrypt LEAK_DETECTIVE=yes
316aa4b4
TB
45 # we can't test Vstr as negative int args are not properly passed to CBs
46 - TEST=printf-builtin
47 - TEST=printf-builtin LEAK_DETECTIVE=yes
d151cd28
TB
48 - TEST=all
49 - TEST=all MONOLITHIC=yes
29b73775 50 - TEST=all LEAK_DETECTIVE=yes
d62b6636
TB
51
52matrix:
53 include:
54 - compiler: gcc
55 env: TEST=dist
4e8f5a18
TB
56 - compiler: gcc
57 env: TEST=apidoc
42f7c989
TB
58 - compiler: gcc
59 env: TEST=coverage
e2d8833f
TB
60 - compiler: gcc
61 env: TEST=sonarcloud
62 git:
63 depth: false
9c6bcb21
TB
64 addons:
65 sonarcloud:
66 organization: "strongswan"
d930d184 67 - compiler: gcc
fd372e13 68 env: TEST=win64 MONOLITHIC=yes
39d544d5
TB
69 # this does not work on 14.04 due to a missing @4 decoration for
70 # TryAcquireSRWLockExclusive in MinGW 3.1.0
fd372e13
MW
71 - compiler: gcc
72 env: TEST=win32 MONOLITHIC=yes
39d544d5 73 dist: precise
1ce2721d
TB
74 - compiler: clang
75 env: TEST=fuzzing MONOLITHIC=yes
e36b1e2e
TB
76 - compiler: clang
77 os: osx
78 env: TEST=osx