<commit_before>language: cpp

os: 
  - linux

dist: trusty
sudo: required 

env:
  - PYTHON=2.7 
  - PYTHON=3.5

before_install:
  # miniconda
  - travis_retry wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda
  
  # create miniconda env
  - conda create --yes -n geomeppy python=$PYTHON
  - source activate geomeppy
  - conda install --yes numpy matplotlib pip
  - conda install -c ioos shapely
  
  # coverage and testing requirements
  - pip install pytest-cov
  - pip install codecov

install:
  - python setup.py install

script:
  # run all tests in tests and check coverage of the geomeppy dir
  - py.test -v --cov-config .coveragerc --cov=geomeppy tests

after_success:
  # coverage reporting on CodeCov 
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]] &&
       [[ $PYTHON == 2* ]]; then codecov; fi
    <commit_msg>Accept installation of shapely<commit_after>language: cpp

os: 
  - linux

dist: trusty
sudo: required 

env:
  - PYTHON=2.7 
  - PYTHON=3.5

before_install:
  # miniconda
  - travis_retry wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH=/home/travis/miniconda/bin:$PATH
  - conda update --yes conda
  
  # create miniconda env
  - conda create --yes -n geomeppy python=$PYTHON
  - source activate geomeppy
  - conda install --yes numpy matplotlib pip
  - conda install -c ioos shapely --yes
  
  # coverage and testing requirements
  - pip install pytest-cov
  - pip install codecov

install:
  - python setup.py install

script:
  # run all tests in tests and check coverage of the geomeppy dir
  - py.test -v --cov-config .coveragerc --cov=geomeppy tests

after_success:
  # coverage reporting on CodeCov 
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]] &&
       [[ $PYTHON == 2* ]]; then codecov; fi
    
{'fraction_non_alphanumeric': 0.11018199704869651, 'fraction_numerical': 0.011805213969503197, 'mean_word_length': 2.830508474576271, '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': '2034327', 'n_tokens_mistral': 788, 'n_tokens_neox': 757, 'n_words': 206}