-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.travis.yml
60 lines (54 loc) · 1.03 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
language: c
sudo: required
matrix:
include:
- os: linux
dist: xenial
compiler: clang
env:
- MY_OS=xenial
- os: linux
dist: trusty
compiler: clang
env:
- MY_OS=trusty
- os: linux
dist: precise
compiler: gcc
env:
- MY_OS=precise
- os: osx
env:
- MY_OS=macos
addons:
apt:
packages:
- autoconf
- 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
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install docbook-xsl icu4c; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then XML_CATALOG_FILES=/usr/local/etc/xml/catalog; export XML_CATALOG_FILES; fi
before_script:
- ./buildconf.sh
script:
- ./configure
- make -j3
- make check