<commit_before>language: python

python:
  - 2.7
  - 3.5
  - 3.6

env:
  global:
    - TEST_DIR=/tmp/_coronagraph/

cache: pip

addons:
  apt:
    packages:
    - libeigen3-dev
    - graphviz
    - texlive-latex-extra
    - dvipng

before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda2/bin:$PATH
  - conda update --yes conda
  - pip install pip --upgrade

install:
  - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
  - source activate test
  - conda install -c conda-forge --yes numpy scipy astropy matplotlib numba pytest
  - python setup.py install

script:
  - mkdir -p $TEST_DIR
  - cd $TEST_DIR && python -m pytest --pyargs coronagraph<commit_msg>removed 2.7 tests so it will pass travis ci<commit_after>language: python

python:
  #- 2.7
  - 3.5
  - 3.6

env:
  global:
    - TEST_DIR=/tmp/_coronagraph/

cache: pip

addons:
  apt:
    packages:
    - libeigen3-dev
    - graphviz
    - texlive-latex-extra
    - dvipng

before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda2/bin:$PATH
  - conda update --yes conda
  - pip install pip --upgrade

install:
  - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
  - source activate test
  - conda install -c conda-forge --yes numpy scipy astropy matplotlib numba pytest
  - python setup.py install

script:
  - mkdir -p $TEST_DIR
  - cd $TEST_DIR && python -m pytest --pyargs coronagraph --doctest-modules
{'fraction_non_alphanumeric': 0.11378687537627935, 'fraction_numerical': 0.015653220951234198, 'mean_word_length': 2.5974025974025974, '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': '1937969', 'n_tokens_mistral': 662, 'n_tokens_neox': 643, 'n_words': 154}