-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (30 loc) · 860 Bytes
/
.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
language: cpp
compiler:
- gcc
env:
- ZMQ="https://github.com/zeromq/zeromq3-x.git"
- ZMQ="https://github.com/zeromq/zeromq4-x.git" SODIUM="git://github.com/jedisct1/libsodium.git -b 0.4.5"
before_install:
- sudo apt-add-repository -y ppa:beineri/opt-qt542
- sudo apt-get update -qq
- sudo apt-get install -qq qt54declarative qt54base
- sudo apt-get install uuid-dev
- '[ -z "$SODIUM" ] || git clone --depth 1 $SODIUM ~/libsodium'
- '[ -z "$SODIUM" ] || pushd ~/libsodium'
- '[ -z "$SODIUM" ] || ./autogen.sh'
- '[ -z "$SODIUM" ] || ./configure'
- '[ -z "$SODIUM" ] || make'
- '[ -z "$SODIUM" ] || sudo make install'
- '[ -z "$SODIUM" ] || popd'
- git clone --depth 1 $ZMQ ~/zmqlib
- pushd ~/zmqlib
- ./autogen.sh
- ./configure
- make
- sudo make install
- sudo /sbin/ldconfig
- popd
script:
- /opt/qt54/bin/qmake
- make
- make check