<commit_before>sudo: false
language: python

cache: pip

python:
  - "3.6"
  - "nightly"

install:
  - pip install pytest-cov -r requirements.txt

script:
  - pytest --cov=.

after_success: codecov
<commit_msg>Fix Travis environment<commit_after>sudo: required
language: python

cache: pip

python:
  - "3.6"
  - "nightly"

services:
  - postgresql

addons:
  postgresql: "9.5"
  apt:
    packages:
      - postgresql-9.5-postgis-2.3

before_script:
  - psql -U postgres -c "create extension postgis"

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y binutils libproj-dev gdal-bin

install:
  - pip install pytest-cov -r requirements.txt

script:
  - pytest --cov=.

after_success: codecov

{'fraction_non_alphanumeric': 0.1150070126227209, 'fraction_numerical': 0.014025245441795231, 'mean_word_length': 3.0338983050847457, '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': '2162916', 'n_tokens_mistral': 279, 'n_tokens_neox': 274, 'n_words': 70}