language: python
python:
    - '2.7'

# TODO: Twisted has to be installed before vertex is installed, even though
# it is in the install_requires and setup_requires, because without Twisted
# setup.py can't even import without Twisted being installed (because vertex
# version requires twisted version)

install:
  - pip install pyflakes
  - pip install coveralls
  - pip install pretend
  - pip install Twisted>=13.1.0
  - pip install .

# no pep8, since vertex uses twisted pep8
script:
  - python -c "import vertex"
  - python -c "from vertex import scripts"
  - python -c "from vertex import test"
  - pyflakes vertex bin prime
  - coverage run `which trial` vertex

after_success:
    - coveralls

notifications:
  email: false

language: python
sudo: false
cache:
  directories:
    - $HOME/.cache/pip
branches:
  only:
    - master
python:
    - '2.7'

# TODO: Twisted has to be installed before vertex is installed, even though
# it is in the install_requires and setup_requires, because without Twisted
# setup.py can't even import without Twisted being installed (because vertex
# version requires twisted version)

install:
  - pip install pyflakes
  - pip install coveralls
  - pip install pretend
  - pip install Twisted>=13.1.0
  - pip install .

# no pep8, since vertex uses twisted pep8
script:
  - python -c "import vertex"
  - python -c "from vertex import scripts"
  - python -c "from vertex import test"
  - pyflakes vertex bin prime
  - coverage run `which trial` vertex

after_success:
  - coveralls

notifications:
  email: false
  irc:
     channels: "chat.freenode.net#divmod"
     template:
       - "%{repository}@%{branch} - %{author}: %{message} (%{build_url})"
     use_notice: true

Make a bunch of miscellaneous Travis fixes.
Make a bunch of miscellaneous Travis fixes.
