<commit_before>sudo: false
language: python
python:
    - 2.7
    - 3.4
    - 3.5
    - pypy

cache:
    apt: true
    pip: true
    directories:
        - $HOME/download-cache

addons:
    apt_packages:
        - binutils
        - default-jdk
        - gdal-bin
        - libgdal1h
        - libgeos-c1
        - libproj-dev
        - libxapian22
        - python-xapian
        - wajig

before_install:
    - mkdir -p $HOME/download-cache

install:
    - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install mock==1.0.1; fi
    - pip install requests "Django${DJANGO_VERSION}"
    - python setup.py clean build install

before_script:
    - BACKGROUND_SOLR=true test_haystack/solr_tests/server/start-solr-test-server.sh

script:
    - python test_haystack/solr_tests/server/wait-for-solr
    - python setup.py test

env:
    matrix:
        - DJANGO_VERSION=">=1.8,<1.9"
        - DJANGO_VERSION=">=1.9,<1.10"

matrix:
    allow_failures:
        - env: DJANGO_VERSION=">=1.9,<1.10"
        - python: "pypy"

services:
    - elasticsearch

notifications:
    irc: "irc.freenode.org#haystack"
    email: false<commit_msg>Travis: remove Django 1.9 from allow-fail list !minor<commit_after>sudo: false
language: python
python:
    - 2.7
    - 3.4
    - 3.5
    - pypy

cache:
    apt: true
    pip: true
    directories:
        - $HOME/download-cache

addons:
    apt_packages:
        - binutils
        - default-jdk
        - gdal-bin
        - libgdal1h
        - libgeos-c1
        - libproj-dev
        - libxapian22
        - python-xapian
        - wajig

before_install:
    - mkdir -p $HOME/download-cache

install:
    - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install mock==1.0.1; fi
    - pip install requests "Django${DJANGO_VERSION}"
    - python setup.py clean build install

before_script:
    - BACKGROUND_SOLR=true test_haystack/solr_tests/server/start-solr-test-server.sh

script:
    - python test_haystack/solr_tests/server/wait-for-solr
    - python setup.py test

env:
    matrix:
        - DJANGO_VERSION=">=1.8,<1.9"
        - DJANGO_VERSION=">=1.9,<1.10"

matrix:
    allow_failures:
        - python: "pypy"

services:
    - elasticsearch

notifications:
    irc: "irc.freenode.org#haystack"
    email: false
{'fraction_non_alphanumeric': 0.11845607808340727, 'fraction_numerical': 0.024401064773735583, 'mean_word_length': 2.0722070844686646, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2295742', 'n_tokens_mistral': 880, 'n_tokens_neox': 842, 'n_words': 154}