<commit_before>language: python

services:
  - postgresql

python:
  - "3.4"
  - "3.3"
  - "2.7"
  - "2.6"

env:
  - DJANGO="django==1.7"
  - DJANGO="django==1.5.10"
  - DJANGO="django==1.6.7"

matrix:
  exclude:
    - python: "2.6"
      env: DJANGO="django==1.7"

branches:
  only:
    - master 

# command to install requirements
install:
  - pip install $DJANGO  --use-mirrors
  - pip install -r requirements-test.txt
  - python setup.py -q install

before_script:
  - createdb django_restframework_gis
  - psql -U postgres -d django_restframework_gis -c "CREATE EXTENSION postgis;"
  - psql -U postgres -d django_restframework_gis -c "CREATE EXTENSION postgis_topology;"

# command to run tests, e.g. python setup.py test
script:
  - coverage run --source=rest_framework_gis,django_restframework_gis_tests runtests.py

after_success:
  coveralls<commit_msg>Updated .travis.yml with latest django versions<commit_after>language: python

services:
  - postgresql

python:
  - "3.4"
  - "3.3"
  - "2.7"
  - "2.6"

env:
  - DJANGO="django==1.7.4"
  - DJANGO="django==1.5.12"
  - DJANGO="django==1.6.10"

matrix:
  exclude:
    - python: "2.6"
      env: DJANGO="django==1.7.4"

branches:
  only:
    - master 

# command to install requirements
install:
  - pip install $DJANGO  --use-mirrors
  - pip install -r requirements-test.txt
  - python setup.py -q install

before_script:
  - createdb django_restframework_gis
  - psql -U postgres -d django_restframework_gis -c "CREATE EXTENSION postgis;"
  - psql -U postgres -d django_restframework_gis -c "CREATE EXTENSION postgis_topology;"

# command to run tests, e.g. python setup.py test
script:
  - coverage run --source=rest_framework_gis,django_restframework_gis_tests runtests.py

after_success:
  coveralls
{'fraction_non_alphanumeric': 0.1236528644356211, 'fraction_numerical': 0.025524673851389675, 'mean_word_length': 3.260869565217391, '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': '1004973', 'n_tokens_mistral': 692, 'n_tokens_neox': 684, 'n_words': 154}