<commit_before>language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "2.7"
  - "3.5"
  # - "3.6" Dependency conflict between shapely and python 3.6 (openssl 1.0.1)
install:
  - sudo apt-get update
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  # Install sldc environment
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pillow numpy joblib shapely opencv scipy
  - source activate test-environment
  - pip install codecov

script:
  - coverage run -m unittest discover .

after_success:
  - codecov <commit_msg>update test bash cmd in travis file<commit_after>language: python
python:
  # We don't actually use the Travis Python, but this keeps it organized.
  - "2.7"
  - "3.5"
  # - "3.6" Dependency conflict between shapely and python 3.6 (openssl 1.0.1)
install:
  - sudo apt-get update
  # We do this conditionally because it saves us some downloading if the
  # version is the same.
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  # Useful for debugging any issues with conda
  - conda info -a

  # Install sldc environment
  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pillow numpy joblib shapely opencv scipy
  - source activate test-environment
  - pip install codecov

script:
  - coverage run -m unittest -s test -t .

after_success:
  - codecov 
{'fraction_non_alphanumeric': 0.10258620689655172, 'fraction_numerical': 0.020689655172413793, 'mean_word_length': 3.0506108202443283, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1910675', 'n_tokens_mistral': 848, 'n_tokens_neox': 806, 'n_words': 250}