]> git.ipfire.org Git - thirdparty/openssl.git/blame - .travis.yml
Rethink the method to place user cflags last
[thirdparty/openssl.git] / .travis.yml
CommitLineData
66c103bd
AG
1language: c
2
db9defdf 3addons:
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 15os:
db9defdf
RS
16 - linux
17 - osx
66c103bd
AG
18
19compiler:
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
27env:
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
37matrix:
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
dbf9a33c
AP
54 - os: osx
55 compiler: gcc
f386742c
AG
56 - os: osx
57 compiler: gcc-5
db9defdf
RS
58 - os: osx
59 compiler: i686-w64-mingw32-gcc
60 - os: osx
61 compiler: x86_64-w64-mingw32-gcc
1a3ae788
RS
62 - compiler: i686-w64-mingw32-gcc
63 env: CONFIG_OPTS="shared"
64 - compiler: x86_64-w64-mingw32-gcc
65 env: CONFIG_OPTS="shared"
fc47ad3b
AG
66 - compiler: i686-w64-mingw32-gcc
67 env: CONFIG_OPTS="no-asm"
68 - compiler: x86_64-w64-mingw32-gcc
69 env: CONFIG_OPTS="no-asm"
9c44c29e
RL
70 - compiler: i686-w64-mingw32-gcc
71 env: CONFIG_OPTS="--unified shared"
72 - compiler: x86_64-w64-mingw32-gcc
73 env: CONFIG_OPTS="--unified shared"
74 - compiler: i686-w64-mingw32-gcc
75 env: CONFIG_OPTS="--unified no-asm"
76 - compiler: x86_64-w64-mingw32-gcc
77 env: CONFIG_OPTS="--unified no-asm"
2d284623
AG
78 allow_failures:
79 - compiler: i686-w64-mingw32-gcc
1119ddff 80 env: CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2"
2d284623 81 - compiler: x86_64-w64-mingw32-gcc
1119ddff 82 env: CONFIG_OPTS="--debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2"
9c44c29e
RL
83 - compiler: i686-w64-mingw32-gcc
84 env: CONFIG_OPTS="--unified --debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2"
85 - compiler: x86_64-w64-mingw32-gcc
86 env: CONFIG_OPTS="--unified --debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2"
db9defdf
RS
87
88before_script:
382af61f 89 - sh .travis-create-release.sh $TRAVIS_OS_NAME
475fc3d8
RL
90 - tar -xvzf _srcdist.tar.gz
91 - cd _srcdist
db9defdf
RS
92 - if [ "$CC" == i686-w64-mingw32-gcc ]; then
93 export CROSS_COMPILE=${CC%%gcc}; unset CC;
dc898095 94 ./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format;
db9defdf
RS
95 elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
96 export CROSS_COMPILE=${CC%%gcc}; unset CC;
dc898095 97 ./Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
db9defdf
RS
98 else
99 ./config $CONFIG_OPTS;
100 fi
475fc3d8 101 - cd ..
66c103bd
AG
102
103script:
475fc3d8 104 - cd _srcdist
db9defdf 105 - make
1a3ae788
RS
106 - if [ -n "$CROSS_COMPILE" ]; then
107 export EXE_SHELL="wine" WINEPREFIX=`pwd`;
108 fi
d1dc699a 109 - HARNESS_VERBOSE=yes make test
475fc3d8 110 - cd ..
66c103bd
AG
111
112notifications:
db9defdf 113 email:
2d284623 114 - openssl-commits@openssl.org