<commit_before># 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<commit_msg>Use a ppa to fetch a modern texinfo instead of building it from source<commit_after># 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 ppa:marutter/texlive.backport
  - sudo apt-get update -qq
  - sudo apt-get install -y texinfo

# 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
{'fraction_non_alphanumeric': 0.08603812467800102, 'fraction_numerical': 0.010303967027305513, 'mean_word_length': 3.2869757174392937, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3649809', 'n_tokens_mistral': 670, 'n_tokens_neox': 640, 'n_words': 254}