blob: 32341e91e35022bcb51a127af59f0dd19eaec8a4 (
plain)
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
34
35
36
37
38
39
40
41
|
language: cpp
sudo: false
addons:
apt:
packages:
- liblog4cpp5-dev
compiler:
- gcc
- clang
before_install:
- echo $LANG
- echo $LC_ALL
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install libconfig log4cpp; fi
install:
- curl -L https://github.com/nukedzn/psocksxx/releases/download/v1.0.0/psocksxx-1.0.0.tar.gz | tar -zx -C /tmp
- cd /tmp/psocksxx-* && ./configure --prefix=/tmp/root && make && make install
- if [ $TRAVIS_OS_NAME == linux ]; then curl -L http://www.hyperrealm.com/libconfig/libconfig-1.4.9.tar.gz | tar -zx -C /tmp; fi
- if [ $TRAVIS_OS_NAME == linux ]; then cd /tmp/libconfig-* && ./configure --prefix=/tmp/root && make && make install; fi
- cd ${TRAVIS_BUILD_DIR}
before_script:
- if [ $TRAVIS_OS_NAME == linux ]; then libtoolize; fi
- if [ $TRAVIS_OS_NAME == osx ]; then glibtoolize; fi
- aclocal
- autoheader
- autoconf
- automake --add-missing
- export PKG_CONFIG_PATH=/tmp/root/lib/pkgconfig && ./configure
script:
- make distcheck
os:
- linux
- osx
|