]>
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" |
db9defdf RS |
32 | |
33 | matrix: | |
f386742c | 34 | include: |
6220acf8 AG |
35 | - os: linux |
36 | compiler: clang-3.6 | |
37 | env: CONFIG_OPTS="-fsanitize=address" | |
38 | - os: linux | |
39 | compiler: clang-3.6 | |
1119ddff | 40 | env: CONFIG_OPTS="no-asm --debug --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-crypto-mdebug enable-rc5 enable-md2" |
6220acf8 AG |
41 | - os: linux |
42 | compiler: gcc-5 | |
43 | env: CONFIG_OPTS="-fsanitize=address" | |
f386742c AG |
44 | - os: linux |
45 | compiler: gcc-5 | |
1119ddff | 46 | env: CONFIG_OPTS="no-asm --debug --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-crypto-mdebug enable-rc5 enable-md2" |
db9defdf | 47 | exclude: |
6220acf8 AG |
48 | - os: osx |
49 | compiler: clang-3.6 | |
f386742c AG |
50 | - os: osx |
51 | compiler: gcc-5 | |
db9defdf RS |
52 | - os: osx |
53 | compiler: i686-w64-mingw32-gcc | |
54 | - os: osx | |
55 | compiler: x86_64-w64-mingw32-gcc | |
1a3ae788 RS |
56 | - compiler: i686-w64-mingw32-gcc |
57 | env: CONFIG_OPTS="shared" | |
58 | - compiler: x86_64-w64-mingw32-gcc | |
59 | env: CONFIG_OPTS="shared" | |
fc47ad3b AG |
60 | - compiler: i686-w64-mingw32-gcc |
61 | env: CONFIG_OPTS="no-asm" | |
62 | - compiler: x86_64-w64-mingw32-gcc | |
63 | env: CONFIG_OPTS="no-asm" | |
2d284623 AG |
64 | allow_failures: |
65 | - compiler: i686-w64-mingw32-gcc | |
1119ddff | 66 | env: CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" |
2d284623 | 67 | - compiler: x86_64-w64-mingw32-gcc |
1119ddff | 68 | env: CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2" |
db9defdf RS |
69 | |
70 | before_script: | |
382af61f | 71 | - sh .travis-create-release.sh $TRAVIS_OS_NAME |
475fc3d8 RL |
72 | - tar -xvzf _srcdist.tar.gz |
73 | - cd _srcdist | |
db9defdf RS |
74 | - if [ "$CC" == i686-w64-mingw32-gcc ]; then |
75 | export CROSS_COMPILE=${CC%%gcc}; unset CC; | |
dc898095 | 76 | ./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format; |
db9defdf RS |
77 | elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then |
78 | export CROSS_COMPILE=${CC%%gcc}; unset CC; | |
dc898095 | 79 | ./Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format; |
db9defdf RS |
80 | else |
81 | ./config $CONFIG_OPTS; | |
82 | fi | |
475fc3d8 | 83 | - cd .. |
66c103bd AG |
84 | |
85 | script: | |
475fc3d8 | 86 | - cd _srcdist |
db9defdf | 87 | - make |
1a3ae788 RS |
88 | - if [ -n "$CROSS_COMPILE" ]; then |
89 | export EXE_SHELL="wine" WINEPREFIX=`pwd`; | |
90 | fi | |
91 | - make test | |
475fc3d8 | 92 | - cd .. |
66c103bd AG |
93 | |
94 | notifications: | |
db9defdf | 95 | email: |
2d284623 | 96 | - openssl-commits@openssl.org |