<commit_before>language: python

python:
  - "2.7"

addons:
  postgresql : "9.3"

env:
  - DB_NAME=raster_test DJANGO_SETTINGS_MODULE=settings PYTHONPATH=$HOME/workspace/src/github.com/geodesign/django-raster

before_install:
  - shippable_retry sudo apt-get update
  - shippable_retry sudo apt-get install -y python-gdal

install:
  - pip install Django==1.7 psycopg2==2.5.3

before_script:
  - psql -c 'create database raster_test;' -U postgres
  - psql -d raster_test -c 'create extension postgis;' -U postgres
  - ls $SHIPPABLE_VE_DIR/lib/python2.7/
  - rm $SHIPPABLE_VE_DIR/lib/python2.7/no-global-site-packages.txt

script: django-admin.py test raster
<commit_msg>Trying once more without 14.04<commit_after>language: python

python:
  - "2.7"

addons:
  postgresql : "9.3"

env:
  - DB_NAME=raster_test DJANGO_SETTINGS_MODULE=settings PYTHONPATH=$HOME/workspace/src/github.com/geodesign/django-raster

before_install:
  - shippable_retry sudo apt-get update
  - shippable_retry sudo apt-get install -y python-gdal

install:
  - pip install Django==1.7 psycopg2==2.5.3 celery==3.1.15

before_script:
  - psql -c 'create database raster_test;' -U postgres
  - psql -d raster_test -c 'create extension postgis;' -U postgres
  - ls $SHIPPABLE_VE_DIR/lib/python2.7/
  - rm $SHIPPABLE_VE_DIR/lib/python2.7/no-global-site-packages.txt

script: django-admin.py test raster

{'fraction_non_alphanumeric': 0.11443148688046648, 'fraction_numerical': 0.026239067055393587, 'mean_word_length': 3.9927272727272727, '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': '1491626', 'n_tokens_mistral': 560, 'n_tokens_neox': 552, 'n_words': 109}