-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
33 lines (27 loc) · 1.04 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
language: cpp
compiler: gcc
before_install:
# Set package repository.
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
# Update the system.
- sudo apt-get -qq update
# Get GCC 4.7 (for C++11 support)
- sudo apt-get -qq install g++-4.7
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 50
script:
# Perform regression test build against ZeroMQ master + libsodium
- mkdir build_dependencies
- pushd build_dependencies
- echo "*** build libsodium"
- git clone git://github.com/jedisct1/libsodium.git
- ( cd libsodium; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
- echo "*** build libzmq"
- git clone git://github.com/zeromq/libzmq.git
- ( cd libzmq; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
- echo "*** build czmq"
- git clone git://github.com/zeromq/czmq
- ( cd czmq; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
- popd
- echo "*** build czmqpp"
- (./autogen.sh; ./configure; make check )
- echo "*** czmqpp build success"