forked from liblouis/liblouis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (27 loc) · 948 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
# 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