.travis.yml 728 Bytes
Newer Older
1
# Travis CI script
2

3
language: c
4

5 6 7 8
os:
- linux
- osx

9
env:
10 11
- BUILD_TYPE=default
- BUILD_TYPE=qt-android
12

13 14
sudo: false

15 16 17
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install binutils ; fi

18 19 20 21 22 23
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

24
# Build and check this project according to the BUILD_TYPE
25
script: ./ci_build.sh