<commit_before># Travis doesn't have Erlang on OSX, so we have to install it manually on both
language: c

sudo: required
dist: trusty

os:
    - linux
    - osx

compiler:
    - gcc
    - clang

matrix:
    exclude:
        - os: osx
          compiler: gcc
        - os: linux
          compiler: clang

env:
  - ELIXIR_VERSION=1.2.4

before_install:
    - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
        sudo apt-get update -qq;
        sudo apt-get install -qq linux-headers-`uname -r`;
        git clone --depth=50 https://github.com/freemed/tty0tty.git;
        cd tty0tty/module && make && sudo cp tty0tty.ko /lib/modules/$(uname -r)/kernel/drivers/misc/;
        cd -;
        sudo depmod;
        sudo modprobe tty0tty;
        wget https://s3.amazonaws.com/travis-otp-releases/binaries/$(lsb_release -is | tr "A-Z" "a-z")/$(lsb_release -rs)/$(uname -m)/erlang-18.3-nonroot.tar.bz2;
        mkdir -p ~/otp && tar -xf erlang-18.3-nonroot.tar.bz2 -C ~/otp/;
        mkdir -p ~/.kerl;
        source $HOME/otp/18.3/activate;
        wget https://github.com/elixir-lang/elixir/releases/download/v$ELIXIR_VERSION/Precompiled.zip;
        unzip -d elixir Precompiled.zip;
        sudo chmod 666 /dev/tnt*;
        ls -las /dev/tnt*;
      else
        brew update;
        brew install elixir;
      fi

before_script:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then export PATH=`pwd`/elixir/bin:$PATH; fi

script:
  - mix local.hex --force<commit_msg>Bump Elixir version on Travis to 1.3.1<commit_after># Travis doesn't have Erlang on OSX, so we have to install it manually on both
language: c

sudo: required
dist: trusty

os:
    - linux
    - osx

compiler:
    - gcc
    - clang

matrix:
    exclude:
        - os: osx
          compiler: gcc
        - os: linux
          compiler: clang

env:
  - ELIXIR_VERSION=1.3.1

before_install:
    - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
        sudo apt-get update -qq;
        sudo apt-get install -qq linux-headers-`uname -r`;
        git clone --depth=50 https://github.com/freemed/tty0tty.git;
        cd tty0tty/module && make && sudo cp tty0tty.ko /lib/modules/$(uname -r)/kernel/drivers/misc/;
        cd -;
        sudo depmod;
        sudo modprobe tty0tty;
        wget https://s3.amazonaws.com/travis-otp-releases/binaries/$(lsb_release -is | tr "A-Z" "a-z")/$(lsb_release -rs)/$(uname -m)/erlang-18.3-nonroot.tar.bz2;
        mkdir -p ~/otp && tar -xf erlang-18.3-nonroot.tar.bz2 -C ~/otp/;
        mkdir -p ~/.kerl;
        source $HOME/otp/18.3/activate;
        wget https://github.com/elixir-lang/elixir/releases/download/v$ELIXIR_VERSION/Precompiled.zip;
        unzip -d elixir Precompiled.zip;
        sudo chmod 666 /dev/tnt*;
        ls -las /dev/tnt*;
      else
        brew update;
        brew install elixir;
      fi

before_script:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then export PATH=`pwd`/elixir/bin:$PATH; fi

script:
  - mix local.hex --force
{'fraction_non_alphanumeric': 0.13715455475946775, 'fraction_numerical': 0.017400204708290685, 'mean_word_length': 2.096092925026399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3767947', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1093, 'n_words': 257}