language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "pypy"
env:
  - INJECTOR_VERSION=0.7.4
  - INJECTOR_VERSION=0.8.0
  - INJECTOR_VERSION=0.9.0
install:
  - pip install flake8 nose==1.3.0 flask==0.10.1 injector==$INJECTOR_VERSION flask_cache flask_sqlalchemy
script:
  - flake8 --max-line-length=110 *.py
  - nosetests -v
  - PYTHONPATH=. python example.py

language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "pypy"
env:
  - INJECTOR_VERSION="==0.9.0"
  - INJECTOR_VERSION=""
install:
  - pip install flake8 nose==1.3.0 flask==0.10.1 injector$INJECTOR_VERSION flask_cache flask_sqlalchemy
script:
  - flake8 --max-line-length=110 *.py
  - nosetests -v
  - PYTHONPATH=. python example.py

Build only with Injector 0.9.0 and newer
Build only with Injector 0.9.0 and newer
