language: python
python:
  - "3.4"
  - "3.5.0b3"
  - "3.5-dev"
  - "nightly"

matrix:
  allow_failures:
    - python: "3.5-dev"

install:
  - "python setup.py install"
  - "pip install pyflakes"

script:
  - shopt -s extglob globstar
  - py.test
  - catimg --help
  - catimg --update --verbose
  - catimg > /dev/null
  - pyflakes catimg/**/!(__init__).py setup.py

sudo: false

language: python
python:
  - "3.4"
  - "3.5"
  - "3.5-dev"
  - "nightly"

matrix:
  allow_failures:
    - python: "3.5-dev"
    - python: "nightly"

install:
  - "python setup.py install"
  - "pip install pyflakes"

script:
  - shopt -s extglob globstar
  - py.test
  - catimg --help
  - catimg --update --verbose
  - catimg > /dev/null
  - pyflakes catimg/**/!(__init__).py setup.py

sudo: false

Use 3.5 final in the Travis test and set "nightly" to allowed failures
Use 3.5 final in the Travis test and set "nightly" to allowed failures
