2015-09-21 23:54:36 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt_packages:
|
|
|
|
- binutils-mingw-w64
|
|
|
|
- gcc-mingw-w64
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
- i686-w64-mingw32-gcc
|
|
|
|
- x86_64-w64-mingw32-gcc
|
|
|
|
|
|
|
|
env:
|
|
|
|
- CONFIG_OPTS=""
|
|
|
|
- CONFIG_OPTS="shared"
|
2015-09-25 15:43:51 +00:00
|
|
|
- CONFIG_OPTS="-d --strict-warnings"
|
2015-09-21 23:54:36 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
|
|
|
compiler: i686-w64-mingw32-gcc
|
|
|
|
- os: osx
|
|
|
|
compiler: x86_64-w64-mingw32-gcc
|
2015-10-09 03:31:29 +00:00
|
|
|
- compiler: i686-w64-mingw32-gcc
|
|
|
|
env: CONFIG_OPTS="-d --strict-warnings"
|
|
|
|
- compiler: x86_64-w64-mingw32-gcc
|
|
|
|
env: CONFIG_OPTS="-d --strict-warnings"
|
2015-09-21 23:54:36 +00:00
|
|
|
|
|
|
|
before_script:
|
2015-12-08 11:43:05 +00:00
|
|
|
- sh .travis-create-release.sh $TRAVIS_OS_NAME
|
2015-12-07 14:47:43 +00:00
|
|
|
- tar -xvzf _srcdist.tar.gz
|
|
|
|
- cd _srcdist
|
2015-09-21 23:54:36 +00:00
|
|
|
- if [ "$CC" == i686-w64-mingw32-gcc ]; then
|
|
|
|
export CROSS_COMPILE=${CC%%gcc}; unset CC;
|
|
|
|
./Configure mingw $CONFIG_OPTS;
|
|
|
|
elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
|
|
|
|
export CROSS_COMPILE=${CC%%gcc}; unset CC;
|
|
|
|
./Configure mingw64 $CONFIG_OPTS;
|
|
|
|
else
|
|
|
|
./config $CONFIG_OPTS;
|
|
|
|
fi
|
2015-12-07 14:47:43 +00:00
|
|
|
- cd ..
|
2015-09-21 23:54:36 +00:00
|
|
|
|
|
|
|
script:
|
2015-12-07 14:47:43 +00:00
|
|
|
- cd _srcdist
|
2015-09-21 23:54:36 +00:00
|
|
|
- make
|
|
|
|
- if [ -z "$CROSS_COMPILE" ]; then make test; fi
|
2015-12-07 14:47:43 +00:00
|
|
|
- cd ..
|
2015-09-21 23:54:36 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
recipient:
|
|
|
|
- openssl-commits@openssl.org
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|