<commit_before>sudo: false
language: python
cache: pip  # use caching for pip's packages to speed up builds

branches:
  only:
  - master

matrix:
  include:
  - os: linux
    python: 2.7
  - os: linux
    python: 3.3
  - os: linux
    python: 3.4
  - os: linux
    python: 3.5
  - os: osx
    language: generic

addons:
  firefox: "54.0"
  apt:
    packages:
      - oracle-java8-set-default
      - mono-complete

before_install:
- export DISPLAY=:99.0
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sh -e /etc/init.d/xvfb start; fi
- (if [ "$TRAVIS_OS_NAME" = "osx" ]; then sudo xvfb :99; fi)&

install:
- |
  if [ "$TRAVIS_OS_NAME" = "linux" ]; then
    mono --version
  else
    rvm get stable
  fi
  nvm install 6.11
  nvm use 6.11
  gem install rspec
  pip install pip --upgrade
  pip install -r requirements.txt
  pip install -r tests/ci/requirements.txt

script:
- |<commit_msg>Replace Python 3.3 with 3.6 on Travis (#720)<commit_after>sudo: false
language: python
cache: pip  # use caching for pip's packages to speed up builds

branches:
  only:
  - master

matrix:
  include:
  - os: linux
    python: 2.7
  - os: linux
    python: 3.4
  - os: linux
    python: 3.5
  - os: linux
    python: 3.6
  - os: osx
    language: generic

addons:
  firefox: "54.0"
  apt:
    packages:
      - oracle-java8-set-default
      - mono-complete

before_install:
- export DISPLAY=:99.0
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sh -e /etc/init.d/xvfb start; fi
- (if [ "$TRAVIS_OS_NAME" = "osx" ]; then sudo xvfb :99; fi)&

install:
- |
  if [ "$TRAVIS_OS_NAME" = "linux" ]; then
    mono --version
  else
    rvm get stable
  fi
  nvm install 6.11
  nvm use 6.11
  gem install rspec
  pip install pip --upgrade
  pip install -r requirements.txt
  pip install -r tests/ci/requirements.txt

script:
- |
{'fraction_non_alphanumeric': 0.1229827490261547, 'fraction_numerical': 0.02949360044518642, 'mean_word_length': 2.471042471042471, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4753954', 'n_tokens_mistral': 744, 'n_tokens_neox': 692, 'n_words': 209}