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