android: Force the two line button to be focusable
[strongswan.git] / .travis.yml
1 language: c
2
3 sudo: required
4 dist: trusty
5
6 # don't build tags separately
7 if: tag IS blank
8
9 compiler:
10   - gcc
11   - clang
12
13 cache: ccache
14
15 before_install:
16   - travis_retry ./scripts/test.sh deps
17   - travis_retry ./scripts/test.sh pydeps
18
19 before_script:
20   - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
21
22 script:
23   - ./scripts/test.sh
24
25 after_success:
26   if [ "$TEST" == "coverage" ]; then
27     bash <(curl -s https://codecov.io/bash);
28   fi
29
30 after_failure:
31   - cat config.log
32
33 env:
34   global:
35     - TESTS_REDUCED_KEYLENGTHS=yes
36     - LEAK_DETECTIVE=no
37     - MONOLITHIC=no
38   matrix:
39     - TEST=all
40     - TEST=all MONOLITHIC=yes
41     - TEST=all LEAK_DETECTIVE=yes
42     - TEST=default
43     - TEST=default MONOLITHIC=yes
44     - TEST=default LEAK_DETECTIVE=yes
45     - TEST=botan
46     - TEST=botan LEAK_DETECTIVE=yes
47     - TEST=openssl
48     - TEST=openssl LEAK_DETECTIVE=yes
49     - TEST=gcrypt
50     - TEST=gcrypt LEAK_DETECTIVE=yes
51     # we can't test Vstr as negative int args are not properly passed to CBs
52     - TEST=printf-builtin
53     - TEST=printf-builtin LEAK_DETECTIVE=yes
54
55 matrix:
56   include:
57     - compiler: clang
58       os: osx
59       env: TEST=osx
60     - compiler: gcc
61       env: TEST=sonarcloud
62       if: env(SONAR_TOKEN) IS present
63       git:
64         depth: false
65       addons:
66         sonarcloud:
67           organization: "strongswan"
68     - compiler: gcc
69       env: TEST=coverage
70     - compiler: clang
71       env: TEST=fuzzing MONOLITHIC=yes
72     - compiler: gcc
73       env: TEST=dist
74     - compiler: gcc
75       env: TEST=apidoc
76     - compiler: gcc
77       env: TEST=win64 MONOLITHIC=yes
78     # this does not work on 14.04 due to a missing @4 decoration for
79     # TryAcquireSRWLockExclusive in MinGW 3.1.0
80     - compiler: gcc
81       env: TEST=win32 MONOLITHIC=yes
82       dist: precise