forked from kevinkreiser/prime_server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 986 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
sudo: required
language: cpp
matrix:
include:
- os: linux
dist: trusty
compiler: gcc
before_install:
- export LD_LIBRARY_PATH=.:`cat /etc/ld.so.conf.d/* | grep -vF "#" | tr "\\n" ":" | sed -e "s/:$//g"`
- sudo add-apt-repository -y ppa:kevinkreiser/libsodium
- sudo add-apt-repository -y ppa:kevinkreiser/libpgm
- sudo add-apt-repository -y ppa:kevinkreiser/zeromq3
- sudo add-apt-repository -y ppa:kevinkreiser/czmq
- sudo apt-get update
install:
- sudo apt-get install -y -qq make cmake gcc g++ libcurl4-openssl-dev libzmq3-dev libczmq-dev
script:
- cmake . && make all test -j$(nproc)
- os: osx
compiler: clang
before_install:
- brew update
install:
- brew install zeromq czmq #cmake
script:
- cmake . && make all test -j$(sysctl -n hw.ncpu)
after_failure:
- cat build/CMakeCache.txt
- cat build/Testing/Temporary/LastTest.log