Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
b2a2bb86
Commit
b2a2bb86
authored
Dec 27, 2016
by
Constantin Rack
Committed by
GitHub
Dec 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2275 from bluca/travis_pkg
parents
5871ea5d
b1137b76
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
25 deletions
+78
-25
.travis.yml
.travis.yml
+26
-17
ci_build.sh
builds/cmake/ci_build.sh
+13
-2
ci_build.sh
builds/coverage/ci_build.sh
+13
-2
ci_build.sh
builds/valgrind/ci_build.sh
+13
-2
ci_build.sh
ci_build.sh
+13
-2
No files found.
.travis.yml
View file @
b2a2bb86
...
...
@@ -12,36 +12,45 @@ env:
-
BUILD_TYPE=default CURVE=tweetnacl DRAFT=enabled
-
BUILD_TYPE=android CURVE=tweetnacl
-
BUILD_TYPE=cmake CURVE=tweetnacl
-
BUILD_TYPE=default CURVE=libsodium
-
BUILD_TYPE=default
-
BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
-
BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
matrix
:
exclude
:
-
env
:
BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
os
:
osx
-
env
:
BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
os
:
osx
include
:
-
env
:
BUILD_TYPE=default CURVE=tweetnacl IPv6=ON
os
:
linux
dist
:
precise
sudo
:
false
-
env
:
BUILD_TYPE=coverage CURVE=tweetnacl DRAFT=enabled
os
:
linux
addons
:
apt
:
packages
:
-
lcov
-
env
:
BUILD_TYPE=valgrind CURVE=tweetnacl DRAFT=enabled
os
:
linux
addons
:
apt
:
packages
:
-
valgrind
-
env
:
BUILD_TYPE=default CURVE=libsodium
os
:
linux
addons
:
apt
:
sources
:
-
sourceline
:
'
deb
http://download.opensuse.org/repositories/home:/zeromq:/git-stable/xUbuntu_14.04/
./'
key_url
:
'
http://download.opensuse.org/repositories/home:/zeromq:/git-stable/xUbuntu_14.04/Release.key'
packages
:
-
libsodium-dev
-
asciidoc
-
xmlto
-
env
:
BUILD_TYPE=default CURVE=libsodium
os
:
osx
sudo
:
required
addons
:
apt
:
packages
:
-
cmake
-
lcov
-
valgrind
before_install
:
-
if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install binutils ; fi
# 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
-
if [ $TRAVIS_OS_NAME == "osx" -a $CURVE == "libsodium" ] ; then brew install libsodium ; fi
before_script
:
# ZMQ stress tests need more open socket (files) than the usual default
...
...
builds/cmake/ci_build.sh
View file @
b2a2bb86
...
...
@@ -23,8 +23,19 @@ if [ -z $CURVE ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CMAKE_OPTS+
=(
"-DWITH_LIBSODIUM=ON"
)
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make
install
)
if
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
fi
# Build, check, and install from local source
...
...
builds/coverage/ci_build.sh
View file @
b2a2bb86
...
...
@@ -19,8 +19,19 @@ if [ -z $CURVE ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CMAKE_OPTS+
=(
"-DWITH_LIBSODIUM=ON"
)
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make
install
)
if
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
fi
pip
install
--user
cpp-coveralls
...
...
builds/valgrind/ci_build.sh
View file @
b2a2bb86
...
...
@@ -19,8 +19,19 @@ if [ -z $CURVE ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CONFIG_OPTS+
=(
"--with-libsodium=yes"
)
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make
install
)
if
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
fi
# Build, check, and install from local source
...
...
ci_build.sh
View file @
b2a2bb86
...
...
@@ -20,8 +20,19 @@ if [ $BUILD_TYPE == "default" ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CONFIG_OPTS+
=(
"--with-libsodium=yes"
)
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
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
fi
if
[
-z
$DRAFT
]
||
[
$DRAFT
==
"disabled"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment