]>
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 | |
1a3ae788 | 10 | - wine |
f386742c | 11 | sources: |
6220acf8 | 12 | - llvm-toolchain-precise-3.6 |
f386742c | 13 | - ubuntu-toolchain-r-test |
db9defdf | 14 | |
66c103bd | 15 | os: |
db9defdf RS |
16 | - linux |
17 | - osx | |
66c103bd AG |
18 | |
19 | compiler: | |
db9defdf | 20 | - clang |
6220acf8 | 21 | - clang-3.6 |
db9defdf | 22 | - gcc |
f386742c | 23 | - gcc-5 |
db9defdf RS |
24 | - i686-w64-mingw32-gcc |
25 | - x86_64-w64-mingw32-gcc | |
66c103bd AG |
26 | |
27 | env: | |
db9defdf RS |
28 | - CONFIG_OPTS="" |
29 | - CONFIG_OPTS="shared" | |
fc47ad3b | 30 | - CONFIG_OPTS="no-asm" |
1119ddff | 31 | - CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" |
9c44c29e RL |
32 | - CONFIG_OPTS="--unified" |
33 | - CONFIG_OPTS="--unified shared" | |
34 | - CONFIG_OPTS="--unified no-asm" | |
35 | - CONFIG_OPTS="--unified --debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" | |
db9defdf RS |
36 | |
37 | matrix: | |
f386742c | 38 | include: |
6220acf8 AG |
39 | - os: linux |
40 | compiler: clang-3.6 | |
41 | env: CONFIG_OPTS="-fsanitize=address" | |
42 | - os: linux | |
43 | compiler: clang-3.6 | |
1119ddff | 44 | env: CONFIG_OPTS="no-asm --debug --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-crypto-mdebug enable-rc5 enable-md2" |
6220acf8 AG |
45 | - os: linux |
46 | compiler: gcc-5 | |
47 | env: CONFIG_OPTS="-fsanitize=address" | |
f386742c AG |
48 | - os: linux |
49 | compiler: gcc-5 | |
1119ddff | 50 | env: CONFIG_OPTS="no-asm --debug --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-crypto-mdebug enable-rc5 enable-md2" |
db9defdf | 51 | exclude: |
6220acf8 AG |
52 | - os: osx |
53 | compiler: clang-3.6 | |
f386742c AG |
54 | - os: osx |
55 | compiler: gcc-5 | |
db9defdf RS |
56 | - os: osx |
57 | compiler: i686-w64-mingw32-gcc | |
58 | - os: osx | |
59 | compiler: x86_64-w64-mingw32-gcc | |
1a3ae788 RS |
60 | - compiler: i686-w64-mingw32-gcc |
61 | env: CONFIG_OPTS="shared" | |
62 | - compiler: x86_64-w64-mingw32-gcc | |
63 | env: CONFIG_OPTS="shared" | |
fc47ad3b AG |
64 | - compiler: i686-w64-mingw32-gcc |
65 | env: CONFIG_OPTS="no-asm" | |
66 | - compiler: x86_64-w64-mingw32-gcc | |
67 | env: CONFIG_OPTS="no-asm" | |
9c44c29e RL |
68 | - compiler: i686-w64-mingw32-gcc |
69 | env: CONFIG_OPTS="--unified shared" | |
70 | - compiler: x86_64-w64-mingw32-gcc | |
71 | env: CONFIG_OPTS="--unified shared" | |
72 | - compiler: i686-w64-mingw32-gcc | |
73 | env: CONFIG_OPTS="--unified no-asm" | |
74 | - compiler: x86_64-w64-mingw32-gcc | |
75 | env: CONFIG_OPTS="--unified no-asm" | |
2d284623 AG |
76 | allow_failures: |
77 | - compiler: i686-w64-mingw32-gcc | |
1119ddff | 78 | env: CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" |
2d284623 | 79 | - compiler: x86_64-w64-mingw32-gcc |
1119ddff | 80 | env: CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" |
9c44c29e RL |
81 | - compiler: i686-w64-mingw32-gcc |
82 | env: CONFIG_OPTS="--unified --debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" | |
83 | - compiler: x86_64-w64-mingw32-gcc | |
84 | env: CONFIG_OPTS="--unified --debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" | |
db9defdf RS |
85 | |
86 | before_script: | |
382af61f | 87 | - sh .travis-create-release.sh $TRAVIS_OS_NAME |
475fc3d8 RL |
88 | - tar -xvzf _srcdist.tar.gz |
89 | - cd _srcdist | |
db9defdf RS |
90 | - if [ "$CC" == i686-w64-mingw32-gcc ]; then |
91 | export CROSS_COMPILE=${CC%%gcc}; unset CC; | |
dc898095 | 92 | ./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format; |
db9defdf RS |
93 | elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then |
94 | export CROSS_COMPILE=${CC%%gcc}; unset CC; | |
dc898095 | 95 | ./Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format; |
db9defdf RS |
96 | else |
97 | ./config $CONFIG_OPTS; | |
98 | fi | |
475fc3d8 | 99 | - cd .. |
66c103bd AG |
100 | |
101 | script: | |
475fc3d8 | 102 | - cd _srcdist |
db9defdf | 103 | - make |
1a3ae788 RS |
104 | - if [ -n "$CROSS_COMPILE" ]; then |
105 | export EXE_SHELL="wine" WINEPREFIX=`pwd`; | |
106 | fi | |
d1dc699a | 107 | - HARNESS_VERBOSE=yes make test |
475fc3d8 | 108 | - cd .. |
66c103bd AG |
109 | |
110 | notifications: | |
db9defdf | 111 | email: |
2d284623 | 112 | - openssl-commits@openssl.org |