mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
0cd7c0f807
Solution: add new coverage build, and upload results to coveralls.io
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
# Travis CI script
|
|
|
|
language: c
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
env:
|
|
- BUILD_TYPE=default CURVE=tweetnacl
|
|
- BUILD_TYPE=android CURVE=tweetnacl
|
|
- BUILD_TYPE=cmake CURVE=tweetnacl
|
|
- BUILD_TYPE=default CURVE=libsodium
|
|
- BUILD_TYPE=default
|
|
- BUILD_TYPE=coverage CURVE=tweetnacl
|
|
|
|
matrix:
|
|
exclude:
|
|
- env: BUILD_TYPE=coverage CURVE=tweetnacl
|
|
os: osx
|
|
|
|
sudo: false
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- kubuntu-backports
|
|
packages:
|
|
- cmake
|
|
- lcov
|
|
|
|
before_install:
|
|
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install binutils ; fi
|
|
|
|
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
|
|
|
|
# Build and check this project according to the BUILD_TYPE
|
|
script: ./ci_build.sh
|