]> git.ipfire.org Git - people/ms/strongswan.git/blob - .travis.yml
travis: The xcode7.3 image is now the default
[people/ms/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_failure:
21 - cat config.log
22
23 env:
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
34 - TEST=gcrypt
35 - TEST=gcrypt LEAK_DETECTIVE=yes
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
39 - TEST=all
40 - TEST=all MONOLITHIC=yes
41 - TEST=all LEAK_DETECTIVE=yes
42
43 matrix:
44 include:
45 - compiler: gcc
46 env: TEST=dist
47 - compiler: gcc
48 env: TEST=apidoc
49 - compiler: gcc
50 env: TEST=win64 MONOLITHIC=yes
51 # this does not work on 14.04 due to a missing @4 decoration for
52 # TryAcquireSRWLockExclusive in MinGW 3.1.0
53 - compiler: gcc
54 env: TEST=win32 MONOLITHIC=yes
55 dist: precise
56 - compiler: clang
57 os: osx
58 env: TEST=osx