<commit_before>
env:
 - GHCVER=7.6.3 CABALVER=1.18
 - GHCVER=7.8.4 CABALVER=1.18
 - GHCVER=7.10.2 CABALVER=1.22
 - GHCVER=head CABALVER=head

matrix:
  allow_failures:
   - env: GHCVER=7.10.2 CABALVER=1.22
   - env: GHCVER=head CABALVER=head

before_install:
 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
 - travis_retry sudo apt-get update
 - travis_retry sudo apt-get install -y cabal-install-$CABALVER ghc-$GHCVER
 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
 - cabal --version

install:
    - sudo add-apt-repository -y ppa:yandex-sysmon/zookeeper-3.4
    - sudo apt-get update
    - sudo apt-get install -y libzookeeper-mt-dev zookeeperd
    - cabal update
    - cabal install -j hspec cabal-meta cabal-src
    - cabal-meta install -j --only-dep --force-reinstalls
    - cabal-meta install -j

script:
    - mega-sdist --test
    - cd persistent-test<commit_msg>Remove ghc 7.10.2 from allowed_failures<commit_after>
env:
 - GHCVER=7.6.3 CABALVER=1.18
 - GHCVER=7.8.4 CABALVER=1.18
 - GHCVER=7.10.2 CABALVER=1.22
 - GHCVER=head CABALVER=head

matrix:
  allow_failures:
   - env: GHCVER=head CABALVER=head

before_install:
 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
 - travis_retry sudo apt-get update
 - travis_retry sudo apt-get install -y cabal-install-$CABALVER ghc-$GHCVER
 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
 - cabal --version

install:
    - sudo add-apt-repository -y ppa:yandex-sysmon/zookeeper-3.4
    - sudo apt-get update
    - sudo apt-get install -y libzookeeper-mt-dev zookeeperd
    - cabal update
    - cabal install -j hspec cabal-meta cabal-src
    - cabal-meta install -j --only-dep --force-reinstalls
    - cabal-meta install -j

script:
    - mega-sdist --test
    - cd persistent-test
{'fraction_non_alphanumeric': 0.12816281628162815, 'fraction_numerical': 0.029152915291529153, 'mean_word_length': 2.9202586206896552, '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': '3649999', 'n_tokens_mistral': 781, 'n_tokens_neox': 739, 'n_words': 148}