]> git.ipfire.org Git - thirdparty/openssl.git/blame - .travis.yml
Trim the Travis config
[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"
d5bdf681 30 - CONFIG_OPTS="no-pic"
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"
9c44c29e 34 - CONFIG_OPTS="--unified --debug --strict-warnings enable-crypto-mdebug enable-rc5 enable-md2"
db9defdf
RS
35
36matrix:
f386742c 37 include:
6220acf8
AG
38 - os: linux
39 compiler: clang-3.6
40 env: CONFIG_OPTS="-fsanitize=address"
41 - os: linux
42 compiler: clang-3.6
31356509 43 env: CONFIG_OPTS="no-asm --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2"
6220acf8
AG
44 - os: linux
45 compiler: gcc-5
46 env: CONFIG_OPTS="-fsanitize=address"
f386742c
AG
47 - os: linux
48 compiler: gcc-5
31356509 49 env: CONFIG_OPTS="no-asm --strict-warnings -fno-sanitize-recover -fsanitize=address -fsanitize=undefined enable-rc5 enable-md2"
b6a89161
F
50 - os: linux
51 compiler: clang-3.6
52 env: CONFIG_OPTS="no-engine"
53 - os: linux
54 compiler: gcc
55 env: CONFIG_OPTS="no-engine"
56 - os: linux
57 compiler: gcc-5
58 env: CONFIG_OPTS="no-engine"
db9defdf 59 exclude:
6220acf8
AG
60 - os: osx
61 compiler: clang-3.6
dbf9a33c
AP
62 - os: osx
63 compiler: gcc
f386742c
AG
64 - os: osx
65 compiler: gcc-5
db9defdf
RS
66 - os: osx
67 compiler: i686-w64-mingw32-gcc
68 - os: osx
69 compiler: x86_64-w64-mingw32-gcc
1a3ae788
RS
70 - compiler: i686-w64-mingw32-gcc
71 env: CONFIG_OPTS="shared"
72 - compiler: x86_64-w64-mingw32-gcc
73 env: CONFIG_OPTS="shared"
9c44c29e
RL
74 - compiler: i686-w64-mingw32-gcc
75 env: CONFIG_OPTS="--unified shared"
76 - compiler: x86_64-w64-mingw32-gcc
77 env: CONFIG_OPTS="--unified shared"
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"
b6a89161
F
87 - compiler: clang-3.6
88 env: CONFIG_OPTS="no-engine"
89 - compiler: gcc-5
90 env: CONFIG_OPTS="no-engine"
91 - compiler: gcc
92 env: CONFIG_OPTS="no-engine"
db9defdf
RS
93
94before_script:
382af61f 95 - sh .travis-create-release.sh $TRAVIS_OS_NAME
475fc3d8
RL
96 - tar -xvzf _srcdist.tar.gz
97 - cd _srcdist
db9defdf
RS
98 - if [ "$CC" == i686-w64-mingw32-gcc ]; then
99 export CROSS_COMPILE=${CC%%gcc}; unset CC;
dc898095 100 ./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format;
db9defdf
RS
101 elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
102 export CROSS_COMPILE=${CC%%gcc}; unset CC;
dc898095 103 ./Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
db9defdf
RS
104 else
105 ./config $CONFIG_OPTS;
106 fi
475fc3d8 107 - cd ..
66c103bd
AG
108
109script:
475fc3d8 110 - cd _srcdist
db9defdf 111 - make
1a3ae788
RS
112 - if [ -n "$CROSS_COMPILE" ]; then
113 export EXE_SHELL="wine" WINEPREFIX=`pwd`;
114 fi
d1dc699a 115 - HARNESS_VERBOSE=yes make test
475fc3d8 116 - cd ..
66c103bd
AG
117
118notifications:
db9defdf 119 email:
2d284623 120 - openssl-commits@openssl.org
b6a89161 121