<commit_before># Based on https://github.com/commercialhaskell/stack/wiki/Travis

sudo: false # Use new caching docker based infrastructure
cache:
  directories:
  - $HOME/.stack
  - $HOME/.cabal

addons:
  apt:
    packages:
    - libgmp-dev
    - cabal-install-1.22
    - ghc-7.10.1
    sources:
    - hvr-ghc

before_install:
  # stack
  - mkdir -p ~/.local/bin
  - export PATH=~/.local/bin:$PATH
  - travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.2.0/stack-0.1.2.0-x86_64-linux.gz | gunzip > ~/.local/bin/stack
  - chmod a+x ~/.local/bin/stack
  # Work around the libexec path problem as per https://github.com/DanielG/cabal-helper/issues/7
  - export PATH=/opt/ghc/7.10.1/bin:$PATH
  - cabal-1.22 update
  - cabal-1.22 install cabal-helper
  # ghc
  # - export PATH=/opt/ghc/7.10.2/bin:$PATH

install:
  - ./travis_long stack --no-terminal setup
  - ./travis_long stack --no-terminal test --only-snapshot

script:
  - stack --no-terminal test


# Here starts the actual work to be performed for the package under
# test; any command which exits with a non-zero exit code causes the
# build to fail.
# script:
#  - if [ -f configure.ac ]; then autoreconf -i; fi
#  - cabal configure --enable-tests --enable-benchmarks -v2  # -v2 provides useful information for debugging
#  - cabal build   # this builds all libraries and executables (including tests/benchmarks)
#  - cabal test --show-details=streaming
#  - cabal check
#  - cabal sdist   # tests that a source-distribution can be generated



notifications:
  irc: "irc.freenode.org#haskell-refactorer"

<commit_msg>Remove 7.10.1 when done<commit_after># Based on https://github.com/commercialhaskell/stack/wiki/Travis

sudo: false # Use new caching docker based infrastructure
cache:
  directories:
  - $HOME/.stack
  - $HOME/.cabal

addons:
  apt:
    packages:
    - libgmp-dev
    - cabal-install-1.22
    - ghc-7.10.1
    sources:
    - hvr-ghc

before_install:
  # Work around the libexec path problem as per https://github.com/DanielG/cabal-helper/issues/7
  - export OLDPATH=$PATH
  - export PATH=/opt/ghc/7.10.1/bin:$PATH
  - cabal-1.22 update
  - cabal-1.22 install cabal-helper
  - export PATH=$OLDPATH # stack must install 7.10.2
  # stack
  - mkdir -p ~/.local/bin
  - export PATH=~/.local/bin:$PATH
  - travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.2.0/stack-0.1.2.0-x86_64-linux.gz | gunzip > ~/.local/bin/stack
  - chmod a+x ~/.local/bin/stack
  # ghc
  # - export PATH=/opt/ghc/7.10.2/bin:$PATH

install:
  - ./travis_long stack --no-terminal setup
  - ./travis_long stack --no-terminal test --only-snapshot

script:
  - stack --no-terminal test


# Here starts the actual work to be performed for the package under
# test; any command which exits with a non-zero exit code causes the
# build to fail.
# script:
#  - if [ -f configure.ac ]; then autoreconf -i; fi
#  - cabal configure --enable-tests --enable-benchmarks -v2  # -v2 provides useful information for debugging
#  - cabal build   # this builds all libraries and executables (including tests/benchmarks)
#  - cabal test --show-details=streaming
#  - cabal check
#  - cabal sdist   # tests that a source-distribution can be generated



notifications:
  irc: "irc.freenode.org#haskell-refactorer"


{'fraction_non_alphanumeric': 0.12771739130434784, 'fraction_numerical': 0.024154589371980676, 'mean_word_length': 2.883939038686987, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4456093', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1165, 'n_words': 303}