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