<commit_before>sudo: required
language: python

matrix:
  include:
    - os: linux
      python: 2.7.14
      env:
      # workaround for the dbus-python package installation not being able to find python shared object files for compilation when using virtualenv.
      # source: https://github.com/willprice/python-omxplayer-wrapper/pull/101/files
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0
    - os: linux
      python: 3.5.3
      env:
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0
    - os: linux
      python: 3.6.2
      env:
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0
    - os: linux
      python: 3.7.0
      env:
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0


    - os: osx
      language: generic
      env: PY_VERSION=2.7.14
    - os: osx
      language: generic
      env: PY_VERSION=3.5.3
    - os: osx
      language: generic
      env: PY_VERSION=3.6.2
    - os: osx
      language: generic
      env: PY_VERSION=3.7.1

addons:
  #This is used for SFTP integration tests
  ssh_known_hosts: ec2-18-209-45-78.compute-1.amazonaws.com

before_install:<commit_msg>work around to make python 3.7 work on Travis<commit_after>sudo: required
language: python

matrix:
  include:
    - os: linux
      python: 2.7.14
      env:
      # workaround for the dbus-python package installation not being able to find python shared object files for compilation when using virtualenv.
      # source: https://github.com/willprice/python-omxplayer-wrapper/pull/101/files
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0
    - os: linux
      python: 3.5.3
      env:
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0
    - os: linux
      python: 3.6.2
      env:
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0
    - os: linux
      python: 3.7
      # travis issue with Python 3.7 https://github.com/travis-ci/travis-ci/issues/9069
      dist: xenial
      sudo: required
      env:
      - 'PYTHON_LIBS="-L$(python-config --prefix)/lib $(python-config --libs)"'
      - PY_ENABLE_SHARD=0


    - os: osx
      language: generic
      env: PY_VERSION=2.7.14
    - os: osx
      language: generic
      env: PY_VERSION=3.5.3
    - os: osx
      language: generic
      env: PY_VERSION=3.6.2
    - os: osx
      language: generic
      env: PY_VERSION=3.7.1

addons:
  #This is used for SFTP integration tests
  ssh_known_hosts: ec2-18-209-45-78.compute-1.amazonaws.com

before_install:
{'fraction_non_alphanumeric': 0.13, 'fraction_numerical': 0.033928571428571426, 'mean_word_length': 2.2798594847775178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '4060827', 'n_tokens_mistral': 1044, 'n_tokens_neox': 988, 'n_words': 223}