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:
|
2016-11-01 23:09:03 +00:00
|
|
|
secure: "xeGNgWO7aoaDgRvcZubposqMsj36aU8c6F0oHfw+rUqltCQ14IgYCUwzocmR2O+Pa7B3Cx5VjMfBFHbQaajZsfod8vu7g+aGq/zkjwbhsr/SR4dljJjFJXLGZjIalm9KgP6KInmVDuINfCqP+MHIY5lZkNI7DMcyHDhVc5nSKvCXV7xTDNgmstvh8rB/z51WfHDqGqfBtiuK5FDNxmvYK8OFJ5W94Lu9LDlizcxwK3GAj7arOui7Z5w8bQ6p4seUE3IvJL1Zbj0pZHxvNb6Zeb2Pn8QF1qLlN8YmBktD4aiw0ce4wYRiL87uLgcOxZY7SVXtv2XYFIYWapU/FKjCqa6vK93V/H9eZWEIYNMKnN3wXm2beqVdnKek3OeGJ8v0y7MbSfuLfRtBqbTSNYnpU1Zuo4MQAvHvEPuwCAYkYQajOSRplMH5sULFKptuVqNtOMfjL8jHb8AEoL1acYIk43ydxeYrzzas4fqgCDJ52573/u0RNdF1lkQBLkuM365OB8VRqtpnoxcdEIY/qBc/8TzZ24fxyrs5qdHFcxGSgpN2EP6cJMqpvkemnCNSdhxUqfzm22N7a3O8+4LFSBGOnHto/PwdsvF/01yGYL0LoZTnoO1i6x7AMJPBh+eyDU0ZjGhj/msjmqeb9C8vRqQ+1WjHrIS1iqCD0Czib8tUPD4="
|
2015-09-21 23:54:36 +00:00
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|