<commit_before># After changing this file, check it on:
#   http://lint.travis-ci.org/

# to test different versions of python, check the numpy travis file on:
#   https://github.com/numpy/numpy/blob/master/.travis.yml

sudo: required
language: python

# which python versions to test
python:
  - "2.7"
  - "3.4"
#  - "3.5"
#  - "3.5-dev" # 3.5 development branch
#  - "3.6"
#  - "3.6-dev" # 3.6 development branch
#  - "3.7-dev" # 3.7 development branch
#  - "nightly"

matrix:
  allow_failures:
    - python: "2.7"
    - python: "3.4"
#    - python: "3.5"
#    - python: "3.6"

virtualenv:
    system_site_packages: true

# command before installation
before_install:
  - sudo apt-get install gfortran
  - sudo apt-get install libblas-dev liblapack-dev
  - sudo apt-get install libcr-dev mpich2

# command to install dependencies
install:
  - pip install -r requirements.txt
  - pip install .

# command to run tests
script:
#  - pytest # or py.test for Python versions 3.5 and below
  - if [[ $TRAVIS_PYTHON_VERSION == 3.4 || $TRAVIS_PYTHON_VERSION == 3.5 ]]; then export PYTEST=py.test ;else export PYTEST=pytest ; fi
  - $PYTEST tests/ast/test_ast.py<commit_msg>debug mpi on travis<commit_after># After changing this file, check it on:
#   http://lint.travis-ci.org/

# to test different versions of python, check the numpy travis file on:
#   https://github.com/numpy/numpy/blob/master/.travis.yml

sudo: required
language: python

# which python versions to test
python:
  - "2.7"
  - "3.4"
#  - "3.5"
#  - "3.5-dev" # 3.5 development branch
#  - "3.6"
#  - "3.6-dev" # 3.6 development branch
#  - "3.7-dev" # 3.7 development branch
#  - "nightly"

matrix:
  allow_failures:
    - python: "2.7"
    - python: "3.4"
#    - python: "3.5"
#    - python: "3.6"

virtualenv:
    system_site_packages: true

# command before installation
before_install:
  - sudo apt-get install gfortran
  - sudo apt-get install libblas-dev liblapack-dev
#  - sudo apt-get install libcr-dev mpich2
#  - sudo apt-get install mpich libmpich-dev # libhdf5-mpich-dev
  - sudo apt-get install libopenmpi-dev openmpi-bin # libhdf5-openmpi-dev

# command to install dependencies
install:
  - pip install -r requirements.txt
  - pip install .

# command to run tests
script:
#  - pytest # or py.test for Python versions 3.5 and below
  - if [[ $TRAVIS_PYTHON_VERSION == 3.4 || $TRAVIS_PYTHON_VERSION == 3.5 ]]; then export PYTEST=py.test ;else export PYTEST=pytest ; fi
  - $PYTEST tests/ast/test_ast.py
{'fraction_non_alphanumeric': 0.13185483870967743, 'fraction_numerical': 0.02903225806451613, 'mean_word_length': 3.008077544426494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '283320', 'n_tokens_mistral': 955, 'n_tokens_neox': 935, 'n_words': 252}