<commit_before>sudo: false
language: c

cache:
  directories:
    - $HOME/.gcc-arm-embedded
    - $HOME/.stack

matrix:
  include:
    - env: GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml
      addons: {apt: {packages: [ghc-7.8.4,gcc-multilib,libev-dev], sources: [hvr-ghc]}}
    - env: GHCVER=7.10.3 STACK_YAML=stack.yaml
      addons: {apt: {packages: [ghc-7.10.3,gcc-multilib,libev-dev], sources: [hvr-ghc]}}
    - env: GHCVER=8.0.1 STACK_YAML=stack-8.0.yaml
      addons: {apt: {packages: [ghc-8.0.1,gcc-multilib,libev-dev], sources: [hvr-ghc]}}

  allow_failures:
    - env: GHCVER=8.0.1 STACK_YAML=stack-8.0.yaml

before_install:
  # Download and unpack the stack executable
  - mkdir -p ~/.local/bin
  - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
  - export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
  # Set up the ARM GCC toolchain
  - if [ ! -d $HOME/.gcc-arm-embedded/*/bin ];
    then
      mkdir -p $HOME/.gcc-arm-embedded;
      wget https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q2-update/+download/gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2 -O- | tar xjf - -C $HOME/.gcc-arm-embedded;
    fi
  - echo $HOME/.gcc-arm-embedded/*/bin
  - ls $HOME/.gcc-arm-embedded/*/bin
  - export PATH="$(echo $HOME/.gcc-arm-embedded/*/bin):$PATH"
  - ghc --version
  - stack --version
  - arm-none-eabi-gcc --version

install:
  # Check out depenendency repos, then check out the branch that
  # matches the current branch name in this repo. If one doesn't<commit_msg>update to 8.0.2 on travis<commit_after>sudo: false
language: c

cache:
  directories:
    - $HOME/.gcc-arm-embedded
    - $HOME/.stack

matrix:
  include:
    - env: GHCVER=7.8.4 STACK_YAML=stack-7.8.yaml
      addons: {apt: {packages: [ghc-7.8.4,gcc-multilib,libev-dev], sources: [hvr-ghc]}}
    - env: GHCVER=7.10.3 STACK_YAML=stack.yaml
      addons: {apt: {packages: [ghc-7.10.3,gcc-multilib,libev-dev], sources: [hvr-ghc]}}
    - env: GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml
      addons: {apt: {packages: [ghc-8.0.2,gcc-multilib,libev-dev], sources: [hvr-ghc]}}

  allow_failures:
    - env: GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml

before_install:
  # Download and unpack the stack executable
  - mkdir -p ~/.local/bin
  - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
  - export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
  # Set up the ARM GCC toolchain
  - if [ ! -d $HOME/.gcc-arm-embedded/*/bin ];
    then
      mkdir -p $HOME/.gcc-arm-embedded;
      wget https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q2-update/+download/gcc-arm-none-eabi-4_9-2015q2-20150609-linux.tar.bz2 -O- | tar xjf - -C $HOME/.gcc-arm-embedded;
    fi
  - echo $HOME/.gcc-arm-embedded/*/bin
  - ls $HOME/.gcc-arm-embedded/*/bin
  - export PATH="$(echo $HOME/.gcc-arm-embedded/*/bin):$PATH"
  - ghc --version
  - stack --version
  - arm-none-eabi-gcc --version

install:
  # Check out depenendency repos, then check out the branch that
  # matches the current branch name in this repo. If one doesn't
{'fraction_non_alphanumeric': 0.17628408370323398, 'fraction_numerical': 0.03836398224476855, 'mean_word_length': 2.861689106487148, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6360776', 'n_tokens_mistral': 1391, 'n_tokens_neox': 1273, 'n_words': 243}