language: python
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  - "pypy"
install:
  # Install self (we are required for some of our own dev reqs for now)
  # NOTE: *do not* use -e as it adds checkout root to sys.path, which prevents
  # us from having a "pure" install environment like a new user would have.
  # E.g. it makes our internal test module importable :(
  - pip install .
  # Pre-requirements sanity test (again, resembles pure, non-dev install
  # environment.) Avoids e.g. spec's 'six' from gumming up our attempts to
  # import our vendorized 'six'.
  - pip install -r tasks-requirements.txt
  - inv --list
  # Install remaining dev requirements (test runner, etc)
  - pip install -r dev-requirements.txt
  # Force downgrade of Jinja to a Python 3.2+ compat version, we probably don't
  # need absolute latest.
  - 'pip install "jinja2<2.7"'
script:
  - inv test
  - inv docs
notifications:
  irc:
    channels: "irc.freenode.org#invoke"
    on_success: change
    on_failure: change
  email: false

language: python
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  - "pypy"
install:
  # Install self (we are required for some of our own dev reqs for now)
  # NOTE: *do not* use -e as it adds checkout root to sys.path, which prevents
  # us from having a "pure" install environment like a new user would have.
  # E.g. it makes our internal test module importable :(
  - pip install .
  # Pre-requirements sanity test (again, resembles pure, non-dev install
  # environment.) Avoids e.g. spec's 'six' from gumming up our attempts to
  # import our vendorized 'six'.
  - pip install -r tasks-requirements.txt
  - inv --list
  # Install remaining dev requirements (test runner, etc)
  - pip install -r dev-requirements.txt
script:
  - inv test
  # Jinja2, used by Sphinx, does not work on Python 3.2 (but does on 3.3)
  - "if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then inv docs; fi"
notifications:
  irc:
    channels: "irc.freenode.org#invoke"
    on_success: change
    on_failure: change
  email: false

Revert "Try downgrading jinja2 instead of skipping doc builds on py3.2"
Revert "Try downgrading jinja2 instead of skipping doc builds on py3.2"

This reverts commit 4a9107c59e6af81d931897a46033bdbceadeb0ca.

That didn't work. Not entirely sure why but not worth time digging. As
long as the docs run somewhere...
