]>
Commit | Line | Data |
---|---|---|
ba6d3a62 RS |
1 | language: c |
2 | ||
3 | addons: | |
4 | apt_packages: | |
5 | - binutils-mingw-w64 | |
6 | - gcc-mingw-w64 | |
7 | ||
8 | os: | |
9 | - linux | |
10 | - osx | |
11 | ||
12 | compiler: | |
13 | - clang | |
14 | - gcc | |
15 | - i686-w64-mingw32-gcc | |
ba6d3a62 RS |
16 | |
17 | env: | |
18 | - CONFIG_OPTS="" | |
19 | - CONFIG_OPTS="shared" | |
89133ba2 | 20 | - CONFIG_OPTS="-d" |
ba6d3a62 RS |
21 | |
22 | matrix: | |
23 | exclude: | |
24 | - os: osx | |
25 | compiler: i686-w64-mingw32-gcc | |
ba6d3a62 RS |
26 | |
27 | before_script: | |
28 | - if [ "$CC" == i686-w64-mingw32-gcc ]; then | |
29 | export CROSS_COMPILE=${CC%%gcc}; unset CC; | |
30 | ./Configure mingw $CONFIG_OPTS; | |
ba6d3a62 RS |
31 | else |
32 | ./config $CONFIG_OPTS; | |
33 | fi | |
34 | ||
35 | script: | |
36 | - make | |
37 | - if [ -z "$CROSS_COMPILE" ]; then make test; fi | |
38 | ||
39 | notifications: | |
40 | recipient: | |
41 | - openssl-commits@openssl.org | |
42 | email: | |
43 | on_success: change | |
44 | on_failure: always |