forked from indexdata/metaproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (62 loc) · 1.53 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
language: c
sudo: required
matrix:
include:
- os: linux
dist: trusty
compiler: clang
env:
- MY_OS=trusty
- INKSCAPE=inkscape
- os: linux
dist: precise
compiler: gcc
env:
- MY_OS=precise
- INKSCAPE=true
- os: osx
env:
- MY_OS=macos-default
- INKSCAPE=true
addons:
apt:
packages:
- autoconf
- autotools-dev
- automake
- bison
- docbook
- docbook-xml
- docbook-xsl
- gcc
- libgnutls-dev
- libhiredis-dev
- libicu-dev
- libmemcached-dev
- libreadline-dev
- libtool
- libwrap0-dev
- libxslt1-dev
- make
- pkg-config
- tcl8.5
- xsltproc
- libboost-dev
- libboost-system-dev
- libboost-thread-dev
- libboost-test-dev
- libboost-regex-dev
- inkscape
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew remove libtool; brew install libtool; fi; # fixup
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yazpp docbook-xsl; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then XML_CATALOG_FILES=/usr/local/etc/xml/catalog; export XML_CATALOG_FILES; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis/travis-init.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -yq libyaz5-dev libyazpp6-dev; fi
before_script:
- ./buildconf.sh
script:
- ./configure
- make INKSCAPE=${INKSCAPE} -j3
- if [[ "$SKIP_CHECK" != "true" ]]; then make INKSCAPE=${INKSCAPE} check; fi