]> git.ipfire.org Git - people/ms/strongswan.git/blame_incremental - .travis.yml
testing: Use identity based CA restrictions in rw-hash-and-url-multi-level
[people/ms/strongswan.git] / .travis.yml
... / ...
CommitLineData
1language: c
2
3sudo: required
4dist: bionic
5
6# don't build tags separately
7if: tag IS blank
8
9compiler: gcc
10
11cache: ccache
12
13before_install:
14 - travis_retry ./scripts/test.sh deps
15 - travis_retry ./scripts/test.sh pydeps
16
17before_script:
18 - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
19
20script:
21 - ./scripts/test.sh
22
23after_success:
24 if [ "$TEST" == "coverage" ]; then
25 bash <(curl -s https://codecov.io/bash);
26 fi
27
28after_failure:
29 - cat config.log
30 - sleep 1
31
32env:
33 global:
34 - TESTS_REDUCED_KEYLENGTHS=yes
35 - LEAK_DETECTIVE=no
36 - MONOLITHIC=no
37
38matrix:
39 include:
40 - env: TEST=sonarcloud
41 if: type = push AND env(SONAR_TOKEN) IS present
42 git:
43 depth: false
44 addons:
45 sonarcloud:
46 organization: "strongswan"
47 - env: TEST=osx
48 compiler: clang
49 os: osx
50 - env: TEST=all
51 - env: TEST=all
52 compiler: clang
53 - env: TEST=all
54 dist: xenial
55 - env: TEST=all
56 dist: xenial
57 compiler: clang
58 - env: TEST=all MONOLITHIC=yes
59 - env: TEST=all MONOLITHIC=yes
60 compiler: clang
61 - env: TEST=all LEAK_DETECTIVE=yes
62 - env: TEST=all LEAK_DETECTIVE=yes
63 compiler: clang
64 - env: TEST=coverage
65 - env: TEST=fuzzing MONOLITHIC=yes
66 compiler: clang
67 - env: TEST=win64 MONOLITHIC=yes
68 - env: TEST=win32 MONOLITHIC=yes
69 - env: TEST=dist
70 # "default" with GCC is already tested with "dist" above
71 - env: TEST=default
72 compiler: clang
73 - env: TEST=default MONOLITHIC=yes
74 - env: TEST=default MONOLITHIC=yes
75 compiler: clang
76 - env: TEST=default LEAK_DETECTIVE=yes
77 - env: TEST=default LEAK_DETECTIVE=yes
78 compiler: clang
79 # we can't test Vstr as negative int args are not properly passed to CBs
80 - env: TEST=printf-builtin
81 - env: TEST=printf-builtin
82 compiler: clang
83 - env: TEST=printf-builtin LEAK_DETECTIVE=yes
84 - env: TEST=printf-builtin LEAK_DETECTIVE=yes
85 compiler: clang
86 # the crypto plugins are build-tested with clang via "all" above
87 - env: TEST=botan
88 - env: TEST=botan LEAK_DETECTIVE=yes
89 - env: TEST=wolfssl
90 - env: TEST=wolfssl LEAK_DETECTIVE=yes
91 - env: TEST=openssl
92 - env: TEST=openssl LEAK_DETECTIVE=yes
93 - env: TEST=openssl-1.0
94 dist: xenial
95 - env: TEST=openssl-1.0 LEAK_DETECTIVE=yes
96 dist: xenial
97 - env: TEST=gcrypt
98 - env: TEST=gcrypt LEAK_DETECTIVE=yes
99 - env: TEST=apidoc