mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Problem: Valgrind in Ubuntu Precise is too old
Solution: run Travis CI in newer Trusty (14.04 LTS) release.
This commit is contained in:
parent
9d94eb11b3
commit
0eca822b8f
@ -6,6 +6,8 @@ os:
|
|||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILD_TYPE=default CURVE=tweetnacl
|
- BUILD_TYPE=default CURVE=tweetnacl
|
||||||
- BUILD_TYPE=android CURVE=tweetnacl
|
- BUILD_TYPE=android CURVE=tweetnacl
|
||||||
@ -22,12 +24,10 @@ matrix:
|
|||||||
- env: BUILD_TYPE=valgrind CURVE=tweetnacl
|
- env: BUILD_TYPE=valgrind CURVE=tweetnacl
|
||||||
os: osx
|
os: osx
|
||||||
|
|
||||||
sudo: false
|
sudo: required
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
|
||||||
- kubuntu-backports
|
|
||||||
packages:
|
packages:
|
||||||
- cmake
|
- cmake
|
||||||
- lcov
|
- lcov
|
||||||
@ -40,7 +40,7 @@ before_script:
|
|||||||
# ZMQ stress tests need more open socket (files) than the usual default
|
# 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
|
# 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
|
# 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
|
- 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
|
||||||
|
|
||||||
# Build and check this project according to the BUILD_TYPE
|
# Build and check this project according to the BUILD_TYPE
|
||||||
script: ./ci_build.sh
|
script: ./ci_build.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user