# Config file for automatic testing at travis-ci.org

language: python

# Use container based infrastructure
sudo: false

python:
  - 2.6
  - 2.7
  - 3.3
  - 3.4

env:
  matrix:
  - DJANGO=1.6 CMD=./test
  - DJANGO=1.7 CMD=./test

matrix:
  allow_failures:
    - python: 3.3
    - python: 3.4
    # Remove this once aldryn-boilerplates is compatible with Django 1.7
    - env: DJANGO=1.7 CMD=./test
    - env: DJANGO=1.7 CMD="flake8 aldryn_newsblog"
  exclude:
    - python: 2.6
      env: DJANGO=1.7 CMD=./test
  fast_finish: true
  include:
    - python: 2.7
      env: DJANGO=1.7 CMD="flake8 aldryn_newsblog"

cache:
  directories:
    - $HOME/.wheelhouse

install:
  - pip install coveralls
  - pip install -r "test_requirements/django-$DJANGO.txt"

script: coverage run test_settings.py

after_success: coveralls

# Testing only...
notifications:
  webhooks: http://addons.us-iad-rs.aldryn.io/en/travis-endpoint/

# Config file for automatic testing at travis-ci.org

language: python

# Use container based infrastructure
sudo: false

python:
  - 2.6
  - 2.7
  - 3.3
  - 3.4

env:
  matrix:
  - DJANGO=1.6 CMD=./test
  - DJANGO=1.7 CMD=./test

matrix:
  allow_failures:
    - python: 3.3
    - python: 3.4
    # Remove this once aldryn-boilerplates is compatible with Django 1.7
    - env: DJANGO=1.7 CMD=./test
    - env: DJANGO=1.7 CMD="flake8 aldryn_newsblog"
  exclude:
    - python: 2.6
      env: DJANGO=1.7 CMD=./test
  fast_finish: true
  include:
    - python: 2.7
      env: DJANGO=1.6 CMD="flake8 aldryn_newsblog"

cache:
  directories:
    - $HOME/.wheelhouse

install:
  - pip install coveralls
  - pip install -r "test_requirements/django-$DJANGO.txt"

script: coverage run test_settings.py

after_success: coveralls

# Testing only...
notifications:
  webhooks: http://addons.us-iad-rs.aldryn.io/en/travis-endpoint/

Use 1.6 for flake8 check
Use 1.6 for flake8 check
