unit-tests: Ignore binaries of renamed test runners
[strongswan.git] / .travis.yml
1 language: c
2
3 sudo: required
4 dist: trusty
5
6 compiler:
7   - gcc
8   - clang
9
10 before_install:
11   - ./scripts/test.sh deps
12   - ./scripts/test.sh pydeps
13
14 before_script:
15   - sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 || true
16
17 script:
18   - ./scripts/test.sh
19
20 after_success:
21   if [ "$TEST" == "coverage" ]; then
22     bash <(curl -s https://codecov.io/bash);
23   fi
24
25 after_failure:
26   - cat config.log
27
28 env:
29   global:
30     - TESTS_REDUCED_KEYLENGTHS=yes
31     - LEAK_DETECTIVE=no
32     - MONOLITHIC=no
33   matrix:
34     - TEST=default
35     - TEST=default MONOLITHIC=yes
36     - TEST=default LEAK_DETECTIVE=yes
37     - TEST=openssl
38     - TEST=openssl LEAK_DETECTIVE=yes
39     - TEST=gcrypt
40     - TEST=gcrypt LEAK_DETECTIVE=yes
41     # we can't test Vstr as negative int args are not properly passed to CBs
42     - TEST=printf-builtin
43     - TEST=printf-builtin LEAK_DETECTIVE=yes
44     - TEST=all
45     - TEST=all MONOLITHIC=yes
46     - TEST=all LEAK_DETECTIVE=yes
47
48 matrix:
49   include:
50     - compiler: gcc
51       env: TEST=dist
52     - compiler: gcc
53       env: TEST=apidoc
54     - compiler: gcc
55       env: TEST=coverage
56     - compiler: gcc
57       env: TEST=win64 MONOLITHIC=yes
58     # this does not work on 14.04 due to a missing @4 decoration for
59     # TryAcquireSRWLockExclusive in MinGW 3.1.0
60     - compiler: gcc
61       env: TEST=win32 MONOLITHIC=yes
62       dist: precise
63     - compiler: clang
64       env: TEST=fuzzing MONOLITHIC=yes
65     - compiler: clang
66       os: osx
67       env: TEST=osx