blob: 8747ab298657d2a14a67e6f9d894dda3cd69c082 [file] [log] [blame]
# define liblouis so that Travis CI service can build and test it
language: c
compiler:
- gcc
# make sure we have texinfo
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y 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 source
install:
- wget http://ftp.gnu.org/gnu/texinfo/texinfo-5.2.tar.xz
- tar -xJvf texinfo-5.2.tar.xz
- cd texinfo-5.2 && ./configure --prefix=/usr && make && sudo make install && cd ..
# 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"
# 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
- formal_braille_spec