Typo.
[openssl.git] / .travis.yml
1 language: c
2
3 addons:
4     apt_packages:
5         - binutils-mingw-w64
6         - gcc-mingw-w64
7
8 os:
9     - linux
10     - osx
11
12 compiler:
13     - clang
14     - gcc
15     - i686-w64-mingw32-gcc
16     - x86_64-w64-mingw32-gcc
17
18 env:
19     - CONFIG_OPTS=""
20     - CONFIG_OPTS="shared"
21     - CONFIG_OPTS="--debug --strict-warnings"
22
23 matrix:
24     exclude:
25         - os: osx
26           compiler: i686-w64-mingw32-gcc
27         - os: osx
28           compiler: x86_64-w64-mingw32-gcc
29     allow_failures:
30         - compiler: i686-w64-mingw32-gcc
31           env: CONFIG_OPTS="--debug --strict-warnings"
32         - compiler: x86_64-w64-mingw32-gcc
33           env: CONFIG_OPTS="--debug --strict-warnings"
34
35 before_script:
36     - if [ "$CC" == i686-w64-mingw32-gcc ]; then
37           export CROSS_COMPILE=${CC%%gcc}; unset CC;
38           ./Configure mingw $CONFIG_OPTS;
39       elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
40           export CROSS_COMPILE=${CC%%gcc}; unset CC;
41           ./Configure mingw64 $CONFIG_OPTS;
42       else
43           ./config $CONFIG_OPTS;
44       fi
45
46 script:
47     - make
48     - if [ -z "$CROSS_COMPILE" ]; then make test; fi
49
50 notifications:
51     email:
52         - openssl-commits@openssl.org