forked from axel-download-accelerator/axel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (55 loc) · 1.12 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
dist: xenial
language: c
cache:
ccache: true
directories:
- autom4te.cache
- m4
addons:
apt:
packages:
- autoconf-archive
- autopoint
- clang
- libssl-dev
- linux-libc-dev
- txt2man
homebrew:
update: true
packages:
- autoconf-archive
- gettext
- openssl
- pkg-config
env:
global:
- G_CFLAGS="-O3 -fPIC"
- MAKEFLAGS="-j4"
- target=distcheck
matrix:
- CONF_FLAGS="--without-ssl"
- CONF_FLAGS="--with-ssl"
os:
- linux
- osx
compiler:
- gcc
- clang
matrix:
exclude:
- os: osx
compiler: gcc
script:
- if [ "${TRAVIS_OS_NAME}" = osx ]; then
target=all
GETTEXT="/usr/local/opt/gettext"
OPENSSL="/usr/local/opt/openssl";
export LIBRARY_PATH="$GETTEXT/lib"
ACLOCAL_PATH="$GETTEXT/share/aclocal"
CPATH="$OPENSSL/include:$GETTEXT/include"
PKG_CONFIG_PATH="$OPENSSL/lib/pkgconfig"
PATH="$GETTEXT/bin:$PATH";
fi
- autoreconf -fiv &&
./configure $CONF_FLAGS CFLAGS="$G_CFLAGS" &&
make DIST_TARGETS=dist-gzip GZIP_ENV=--fast $target