]>
Commit | Line | Data |
---|---|---|
66c103bd AG |
1 | language: c |
2 | ||
db9defdf | 3 | addons: |
f386742c AG |
4 | apt: |
5 | packages: | |
6220acf8 | 6 | - clang-3.6 |
f386742c AG |
7 | - gcc-5 |
8 | - binutils-mingw-w64 | |
9 | - gcc-mingw-w64 | |
10 | sources: | |
6220acf8 | 11 | - llvm-toolchain-precise-3.6 |
f386742c | 12 | - ubuntu-toolchain-r-test |
db9defdf | 13 | |
66c103bd | 14 | os: |
db9defdf RS |
15 | - linux |
16 | - osx | |
66c103bd AG |
17 | |
18 | compiler: | |
db9defdf | 19 | - clang |
6220acf8 | 20 | - clang-3.6 |
db9defdf | 21 | - gcc |
f386742c | 22 | - gcc-5 |
db9defdf RS |
23 | - i686-w64-mingw32-gcc |
24 | - x86_64-w64-mingw32-gcc | |
66c103bd AG |
25 | |
26 | env: | |
db9defdf RS |
27 | - CONFIG_OPTS="" |
28 | - CONFIG_OPTS="shared" | |
2d284623 | 29 | - CONFIG_OPTS="--debug --strict-warnings" |
db9defdf RS |
30 | |
31 | matrix: | |
f386742c | 32 | include: |
6220acf8 AG |
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" | |
f386742c AG |
42 | - os: linux |
43 | compiler: gcc-5 | |
44 | env: CONFIG_OPTS="--debug --strict-warnings -fsanitize=address" | |
db9defdf | 45 | exclude: |
6220acf8 AG |
46 | - os: osx |
47 | compiler: clang-3.6 | |
f386742c AG |
48 | - os: osx |
49 | compiler: gcc-5 | |
db9defdf RS |
50 | - os: osx |
51 | compiler: i686-w64-mingw32-gcc | |
52 | - os: osx | |
53 | compiler: x86_64-w64-mingw32-gcc | |
2d284623 AG |
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" | |
db9defdf RS |
59 | |
60 | before_script: | |
61 | - if [ "$CC" == i686-w64-mingw32-gcc ]; then | |
62 | export CROSS_COMPILE=${CC%%gcc}; unset CC; | |
dc898095 | 63 | ./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format; |
db9defdf RS |
64 | elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then |
65 | export CROSS_COMPILE=${CC%%gcc}; unset CC; | |
dc898095 | 66 | ./Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format; |
db9defdf RS |
67 | else |
68 | ./config $CONFIG_OPTS; | |
69 | fi | |
66c103bd AG |
70 | |
71 | script: | |
db9defdf RS |
72 | - make |
73 | - if [ -z "$CROSS_COMPILE" ]; then make test; fi | |
66c103bd AG |
74 | |
75 | notifications: | |
db9defdf | 76 | email: |
2d284623 | 77 | - openssl-commits@openssl.org |