travis: Use Trusty beta image
[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
16
17 script:
18   - ./scripts/test.sh
19
20 env:
21   global:
22     - TESTS_REDUCED_KEYLENGTHS=yes
23     - LEAK_DETECTIVE=no
24     - MONOLITHIC=no
25   matrix:
26     - TEST=default
27     - TEST=default MONOLITHIC=yes
28     - TEST=default LEAK_DETECTIVE=yes
29     - TEST=openssl
30     - TEST=openssl LEAK_DETECTIVE=yes
31     - TEST=gcrypt
32     - TEST=gcrypt LEAK_DETECTIVE=yes
33     # we can't test Vstr as negative int args are not properly passed to CBs
34     - TEST=printf-builtin
35     - TEST=printf-builtin LEAK_DETECTIVE=yes
36     - TEST=all
37     - TEST=all MONOLITHIC=yes
38     - TEST=all LEAK_DETECTIVE=yes
39
40 matrix:
41   include:
42     - compiler: gcc
43       env: TEST=dist
44     - compiler: gcc
45       env: TEST=win64 MONOLITHIC=yes
46     - compiler: gcc
47       env: TEST=win32 MONOLITHIC=yes
48     - compiler: clang
49       os: osx
50       env: TEST=osx