forked from dajobe/librdf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
54 lines (45 loc) · 1.77 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
# see
# http://docs.travis-ci.com/user/getting-started/
# http://docs.travis-ci.com/user/languages/c/
# http://docs.travis-ci.com/user/build-configuration/
# http://docs.travis-ci.com/user/multi-os/
#
language: c
branches:
only:
- master
# matrix of compilers
compiler:
- gcc
# - clang
# - c++
# matrix of OSes (feature flagged; not enabled now)
os:
- linux
- osx
# matrix of raptor & rasqal versions
env:
- RAPTOR_INSTALL_VERSION=2.0.7 RASQAL_INSTALL_VERSION=0.9.33
- RAPTOR_INSTALL_VERSION=2.0.15 RASQAL_INSTALL_VERSION=0.9.33
- RAPTOR_INSTALL_VERSION=2.0.7 RASQAL_INSTALL_VERSION=0.9.26
- RAPTOR_INSTALL_VERSION=2.0.15 RASQAL_INSTALL_VERSION=0.9.26
# overall matrix configuration
#matrix:
# allow_failures:
# - os: osx
#
# exclude:
# - compiler: c++
# env: RAPTOR_INSTALL_VERSION=2.0.7
# - compiler: clang
# env: RAPTOR_INSTALL_VERSION=2.0.7
# Install raptor and rasqal extra dependencies too (libyajl-dev)
# since we may build raptor and rasqal from tarballs
install:
- env | sort
- if [ "$TRAVIS_OS_NAME" = "" ]; then TRAVIS_OS_NAME=linux; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then ./scripts/install-bison3.sh; sudo apt-get update -qq -y; sudo apt-get install -qq -y gtk-doc-tools libraptor2-dev libgmp-dev libmhash-dev libpcre3-dev uuid-dev libyajl-dev libgmp-dev; fi
- raptor_min_version=`awk -F= '/RAPTOR_MIN_VERSION=/{print $2}' configure.ac` && ./scripts/install-raptor.sh $raptor_min_version $RAPTOR_INSTALL_VERSION
- rasqal_min_version=`awk -F= '/RASQAL_MIN_VERSION=/{print $2}' configure.ac` && ./scripts/install-rasqal.sh $rasqal_min_version $RASQAL_INSTALL_VERSION
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install raptor rasqal bison gtk-doc yajl mhash pcre; fi
script: ./autogen.sh && make && make check