.travis.yml 948 Bytes
# define liblouis so that Travis CI service can build and test it

language: c

compiler:
  - gcc

# make sure we have texinfo in fact make sure we have texinfo 5.0 or
# higher. Travis currently runs the old Ubuntu LTS which has an old
# version of texinfo, so we need to install from a ppa
before_install:
  - sudo add-apt-repository -y ppa:marutter/texlive.backport
  - sudo add-apt-repository -y ppa:dns/gnu
  - sudo apt-get update -qq
  - sudo apt-get install -y texinfo automake1.14 libyaml-dev

# let's have two parallel builds. One with ucs4 disabled and the other
# enabling it
env:
  - ENABLE_UCS4=
  - ENABLE_UCS4=--enable-ucs4

script: "./autogen.sh && ./configure $ENABLE_UCS4 && make && make check"

after_failure: cat tests/test-suite.log

# tell the irc channel about the results of the build
notifications:
  irc: "irc.oftc.net#liblouis"

# do not build on the following branches
branches:
  except:
    - ikiwiki_ctl
    - website