mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-20 18:48:16 +00:00
Problem: travis builds libsodium from scratch everytime
Solution: use packages/brew
This commit is contained in:
parent
448cc73f92
commit
99e027a152
17
.travis.yml
17
.travis.yml
@ -7,6 +7,15 @@ os:
|
||||
- osx
|
||||
|
||||
sudo: false
|
||||
dist: trusty
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_14.04/ ./'
|
||||
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_14.04/Release.key'
|
||||
packages:
|
||||
- libsodium-dev
|
||||
|
||||
env:
|
||||
global:
|
||||
@ -21,13 +30,7 @@ env:
|
||||
before_install:
|
||||
# workaround for Travis OSX CI bug, hasn't been fixed in a month so time for a hack
|
||||
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew uninstall libtool && brew install libtool ; fi
|
||||
|
||||
# Build required projects first
|
||||
before_script:
|
||||
- mkdir tmp
|
||||
# libsodium
|
||||
- git clone --depth 1 -b stable git://github.com/jedisct1/libsodium.git
|
||||
- ( cd libsodium; ./autogen.sh; ./configure --prefix=${BUILD_PREFIX}; make check; make install )
|
||||
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew install libsodium ; 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user