-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
39 lines (39 loc) · 932 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
32
33
34
35
36
37
38
39
os:
- linux
- osx
language: c
compiler:
- gcc
- clang
addons:
apt:
packages:
- tree
install:
- 'brew update || true'
- 'brew install tree xz || true'
before_script:
- 'builddir=$(pwd)'
- 'cd /tmp'
- 'curl -s -L https://github.com/sustrik/libmill/archive/master.tar.gz | tar -zxf -'
- 'mv libmill-master libmill'
- 'cd libmill'
- 'libtoolize || true'
- './autogen.sh'
- './configure --enable-shared=false'
- 'make libmill.la'
- 'cd $builddir'
script:
- 'mkdir -p m4'
- 'autoreconf -if'
- 'export CPPFLAGS=-I/tmp/libmill'
- 'export LDFLAGS=-L/tmp/libmill/.libs'
- '[[ $(uname) == "Darwin" ]] || export LIBS=-lrt'
- './configure --prefix=/usr --sysconfdir=/etc'
- 'make'
- 'make check'
- 'make DESTDIR=$(pwd)/dist/ install'
- 'tree $(pwd)/dist/'
- 'make dist'
- 'make dist-xz'
- 'make dist-zip'