forked from dajobe/raptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (29 loc) · 846 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
# 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
# overall matrix configuration
matrix:
allow_failures:
- os: osx
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 libyajl-dev; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install bison gtk-doc yajl; fi
script: ./autogen.sh && make && make test