<commit_before>language: python

python:
  - "2.7"

env:
  global:
    - KING_PHISHER_TEST_GEOIP_DB="./GeoLite2-City.mmdb"

cache:
  - apt

branches:
  except:
    - screenshots

virtualenv:
  system_site_packages: true

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq gir1.2-gtk-3.0 gir1.2-gtksource-3.0 gir1.2-vte-2.90 gir1.2-webkit-3.0 libgtksourceview-3.0-0 python-cairo python-gi python-gi-cairo python-gobject python-gobject-2 python-gobject-dev python-paramiko
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

install:
  - pip install pylint docutils sphinx sphinxcontrib-domaintools sphinxcontrib-httpdomain 
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements.txt; fi
  - wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
  - gunzip -f GeoLite2-City.mmdb.gz
<commit_msg>Use pip to install docutils first on travis<commit_after>language: python

python:
  - "2.7"

env:
  global:
    - KING_PHISHER_TEST_GEOIP_DB="./GeoLite2-City.mmdb"

cache:
  - apt

branches:
  except:
    - screenshots

virtualenv:
  system_site_packages: true

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq gir1.2-gtk-3.0 gir1.2-gtksource-3.0 gir1.2-vte-2.90 gir1.2-webkit-3.0 libgtksourceview-3.0-0 python-cairo python-gi python-gi-cairo python-gobject python-gobject-2 python-gobject-dev python-paramiko
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start

install:
  - pip install docutils
  - pip install pylint sphinx sphinxcontrib-domaintools sphinxcontrib-httpdomain
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements.txt; fi
  - wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
  - gunzip -f GeoLite2-City.mmdb.gz

{'fraction_non_alphanumeric': 0.12282669657879977, 'fraction_numerical': 0.034772854739203586, 'mean_word_length': 3.383292383292383, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6662057', 'n_tokens_mistral': 744, 'n_tokens_neox': 712, 'n_words': 137}