<commit_before>language: python
python:
- 2.7
- 3.6
- "3.7-dev"
matrix:
  allow_failures:
    - python: "3.7-dev"

env:
  - TEST_DIR=tests

sudo: false

before_install:
  - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
      wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh;
    else
      wget http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86_64.sh -O miniconda.sh;
    fi
  - chmod +x miniconda.sh
  - ./miniconda.sh -b -p $HOME/miniconda
  - export PATH=/home/travis/anaconda/bin:/home/travis/miniconda/bin:$PATH
  - conda update --yes conda

install:
  - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
      conda install --yes pip python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib cython ipython mkl;
    else
      conda install --yes pip python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib cython ipython mkl;
    fi
  - pip install -r requirements_dev.txt

script:
  - nosetests $TEST_DIR --with-cov --cov casingSimulations --cov-config .coveragerc -v -s;

after_success:
  - bash <(curl -s https://codecov.io/bash)<commit_msg>add casingSimulations to travis path using setup.py<commit_after>language: python
python:
- 2.7
- 3.6
- "3.7-dev"
matrix:
  allow_failures:
    - python: "3.7-dev"

env:
  - TEST_DIR=tests

sudo: false

before_install:
  - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
      wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh;
    else
      wget http://repo.continuum.io/miniconda/Miniconda3-3.8.3-Linux-x86_64.sh -O miniconda.sh;
    fi
  - chmod +x miniconda.sh
  - ./miniconda.sh -b -p $HOME/miniconda
  - export PATH=/home/travis/anaconda/bin:/home/travis/miniconda/bin:$PATH
  - conda update --yes conda

install:
  - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
      conda install --yes pip python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib cython ipython mkl;
    else
      conda install --yes pip python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib cython ipython mkl;
    fi
  - pip install -r requirements_dev.txt
  - cd casingSimulations; python setup.py install; cd ..

script:
  - nosetests $TEST_DIR --with-cov --cov casingSimulations --cov-config .coveragerc -v -s;

after_success:
  - bash <(curl -s https://codecov.io/bash)
{'fraction_non_alphanumeric': 0.1359860078705728, 'fraction_numerical': 0.025360734586794928, 'mean_word_length': 3.100358422939068, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6130972', 'n_tokens_mistral': 950, 'n_tokens_neox': 916, 'n_words': 191}