-
-
Notifications
You must be signed in to change notification settings - Fork 267
/
.travis.yml
76 lines (67 loc) · 1.28 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
64
65
66
67
68
69
70
71
72
73
74
75
76
language: c
cache:
ccache: true
directories:
- autom4te.cache
- m4
addons:
apt:
packages:
- autoconf-archive
- autopoint
- clang
- libssl-dev
- linux-libc-dev
- txt2man
- gettext
homebrew:
update: true
packages:
- autoconf-archive
- gettext
- openssl
- pkg-config
env:
global:
- G_CFLAGS="-O3 -fPIC"
- MAKEFLAGS="-j4"
- target=distcheck
matrix:
- CONF_FLAGS="--with-ssl"
- CONF_FLAGS="--without-ssl"
os:
- linux
- osx
dist: focal
arch:
- amd64
- arm64
- ppc64le
compiler:
- gcc
- clang
jobs:
include:
- os: linux
dist: bionic
- os: linux
dist: xenial
exclude:
- os: osx
compiler: gcc
allow_failures:
- os: osx
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