forked from hintjens/czmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 1.09 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Travis CI script
language: c
os:
- linux
- osx
sudo: false
env:
- BUILD_TYPE=default
- BUILD_TYPE=stable_zmq ZMQ_REPO=zeromq2-x
- BUILD_TYPE=stable_zmq ZMQ_REPO=zeromq3-x
- BUILD_TYPE=stable_zmq ZMQ_REPO=zeromq4-x
- BUILD_TYPE=stable_zmq ZMQ_REPO=zeromq4-1
- BUILD_TYPE=android
# As we have errors in bindings/python/test.py I'm suspending this...
#- BUILD_TYPE=check-py
- BUILD_TYPE=cmake
addons:
apt:
packages:
- uuid-dev
- valgrind
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install ossp-uuid binutils valgrind ; fi
# 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
before_script:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then sudo sysctl -w kern.maxfiles=64000 ; sudo sysctl -w kern.maxfilesperproc=64000 ; sudo launchctl limit maxfiles 64000 64000 ; ulimit -n 64000 ; fi ; ulimit -n 64000
- ./autogen.sh
# Build and check this project according to the BUILD_TYPE
script: ./ci_build.sh