<commit_before>language: python

env:
  - OGN_CONFIG_MODULE='config.test'

python:
  - 3.4

services:
  - postgresql

before_script:
  - flake8 tests ogn
  - sudo apt-get autoremove postgis*
  - sudo apt-get autoremove postgresql*
  - sudo apt-get install postgresql-9.3-postgis-2.1
  - psql -c 'CREATE DATABASE ogn_test;' -U postgres
  - psql -c 'CREATE EXTENSION postgis;' -U postgres -d ogn_test

script:
  - nosetests --with-coverage --cover-package=ogn

  - pip install . --upgrade
  - python -c 'import ogn'

after_success:
  - coveralls
<commit_msg>Fix travis<commit_after>language: python

env:
  - OGN_CONFIG_MODULE='config.test'

python:
  - 3.4
  - 3.5
  - 3.6

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

before_script:
  - flake8 tests ogn_test
  - psql -c 'CREATE DATABASE ogn_test;' -U postgres
  - psql -c 'CREATE EXTENSION postgis;' -U postgres -d ogn_test

script:
  - nosetests --with-coverage --cover-package=ogn

  - pip install . --upgrade
  - python -c 'import ogn'

after_success:
  - coveralls

{'fraction_non_alphanumeric': 0.11886792452830189, 'fraction_numerical': 0.018867924528301886, 'mean_word_length': 2.789285714285714, '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': '4384078', 'n_tokens_mistral': 445, 'n_tokens_neox': 431, 'n_words': 101}