embed CRL serial number and signature fields
[openssl.git] / .travis.yml
1 language: c
2
3 addons:
4     apt:
5         packages:
6             - clang-3.6
7             - gcc-5
8             - binutils-mingw-w64
9             - gcc-mingw-w64
10         sources:
11             - llvm-toolchain-precise-3.6
12             - ubuntu-toolchain-r-test
13
14 os:
15     - linux
16     - osx
17
18 compiler:
19     - clang
20     - clang-3.6
21     - gcc
22     - gcc-5
23     - i686-w64-mingw32-gcc
24     - x86_64-w64-mingw32-gcc
25
26 env:
27     - CONFIG_OPTS=""
28     - CONFIG_OPTS="shared"
29     - CONFIG_OPTS="--debug --strict-warnings"
30
31 matrix:
32     include:
33         - os: linux
34           compiler: clang-3.6
35           env: CONFIG_OPTS="-fsanitize=address"
36         - os: linux
37           compiler: clang-3.6
38           env: CONFIG_OPTS="--debug --strict-warnings -fsanitize=address"
39         - os: linux
40           compiler: gcc-5
41           env: CONFIG_OPTS="-fsanitize=address"
42         - os: linux
43           compiler: gcc-5
44           env: CONFIG_OPTS="--debug --strict-warnings -fsanitize=address"
45     exclude:
46         - os: osx
47           compiler: clang-3.6
48         - os: osx
49           compiler: gcc-5
50         - os: osx
51           compiler: i686-w64-mingw32-gcc
52         - os: osx
53           compiler: x86_64-w64-mingw32-gcc
54     allow_failures:
55         - compiler: i686-w64-mingw32-gcc
56           env: CONFIG_OPTS="--debug --strict-warnings"
57         - compiler: x86_64-w64-mingw32-gcc
58           env: CONFIG_OPTS="--debug --strict-warnings"
59
60 before_script:
61     - if [ "$CC" == i686-w64-mingw32-gcc ]; then
62           export CROSS_COMPILE=${CC%%gcc}; unset CC;
63           ./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format;
64       elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
65           export CROSS_COMPILE=${CC%%gcc}; unset CC;
66           ./Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
67       else
68           ./config $CONFIG_OPTS;
69       fi
70
71 script:
72     - make
73     - if [ -z "$CROSS_COMPILE" ]; then make test; fi
74
75 notifications:
76     email:
77         - openssl-commits@openssl.org