2014-08-12 12:30:43 +02:00
|
|
|
# Travis CI script
|
2013-09-12 12:46:43 +02:00
|
|
|
|
2013-05-21 09:20:39 +02:00
|
|
|
language: c
|
2013-09-12 12:46:43 +02:00
|
|
|
|
2015-08-01 19:56:11 +02:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2014-11-03 02:33:23 +01:00
|
|
|
env:
|
2014-11-04 21:57:39 +01:00
|
|
|
- BUILD_TYPE=default
|
|
|
|
- BUILD_TYPE=qt-android
|
2013-09-12 12:46:43 +02:00
|
|
|
|
2015-08-16 19:55:43 +02:00
|
|
|
sudo: false
|
|
|
|
|
2015-08-17 18:06:56 +02:00
|
|
|
before_install:
|
|
|
|
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install binutils ; fi
|
|
|
|
|
2015-08-02 20:20:34 +02:00
|
|
|
before_script:
|
|
|
|
# ZMQ stress tests need more open socket (files) than the usual default
|
|
|
|
# On OSX, it seems the way to set the max files limit is constantly changing, so
|
|
|
|
# try to use all known knobs to ensure compatibility across various versions
|
|
|
|
- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; fi ; ulimit -n 64000
|
|
|
|
|
2014-11-04 21:57:39 +01:00
|
|
|
# Build and check this project according to the BUILD_TYPE
|
2014-11-03 02:33:23 +01:00
|
|
|
script: ./ci_build.sh
|