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