aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 47d27fe31615186fe004f73cb7d59f41a1ce6f89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: c

os:
  - linux
  - osx

addons:
    apt:
        packages:
        - asciidoc
        - autopoint
        - xmlto

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install asciidoc; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gettext; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install xmlto; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force gettext; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo mkdir /etc/xml; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo ln -s /usr/local/etc/xml/catalog /etc/xml/catalog; fi

script: ./autogen.sh && ./configure && make && make check