<commit_before>language: cpp

os:
  - linux
  - osx

dist: trusty
sudo: required

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages: &default_deps
      - libglib2.0-dev
      - libdbus-glib-1-dev
      - ispell
      - hspell
      - libhunspell-dev
      - libvoikko-dev
      - aspell-en
      # - zemberek-server: installs with error in Travis’s trusty environment

env: &default_env
  - VERBOSE=1 # Get test logs in Travis logs

matrix:
  include:
    - os: linux
    - os: osx
      osx_image: xcode7.2
    - os: osx
      osx_image: xcode8.1
    - compiler: gcc
      env:
        - *default_env
        - COMPILER=g++
    - compiler: gcc
      env:
        - *default_env
        - COMPILER=g++-5
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - *default_deps
            - [g++-5]
    - compiler: gcc
      env:
        - *default_env
        - COMPILER=g++-6
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - *default_deps
            - [g++-6]

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update          ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glib dbus-glib aspell hspell hunspell libvoikko ispell ; fi

script:
  - ./autogen.sh
  - make
  - make distcheck
<commit_msg>Add missing aspell dev package, so aspell backend is built<commit_after>language: cpp

os:
  - linux
  - osx

dist: trusty
sudo: required

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages: &default_deps
      - libglib2.0-dev
      - libdbus-glib-1-dev
      - libaspell-dev
      - ispell
      - hspell
      - libhunspell-dev
      - libvoikko-dev
      - aspell-en
      # - zemberek-server: installs with error in Travis’s trusty environment

env: &default_env
  - VERBOSE=1 # Get test logs in Travis logs

matrix:
  include:
    - os: linux
    - os: osx
      osx_image: xcode7.2
    - os: osx
      osx_image: xcode8.1
    - compiler: gcc
      env:
        - *default_env
        - COMPILER=g++
    - compiler: gcc
      env:
        - *default_env
        - COMPILER=g++-5
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - *default_deps
            - [g++-5]
    - compiler: gcc
      env:
        - *default_env
        - COMPILER=g++-6
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - *default_deps
            - [g++-6]

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update          ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install glib dbus-glib aspell hspell hunspell libvoikko ispell ; fi

script:
  - ./autogen.sh
  - make
  - make distcheck

{'fraction_non_alphanumeric': 0.1086115992970123, 'fraction_numerical': 0.00843585237258348, 'mean_word_length': 1.5185840707964602, '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': '5576459', 'n_tokens_mistral': 1045, 'n_tokens_neox': 1026, 'n_words': 224}