language: python
install:
  - pip install tox
script:
    - tox
env:
  - TOXENV=py26
  - TOXENV=py27
  - TOXENV=pep8
language: python
# use docker infrastructure
sudo: false
install:
  - pip install tox
script:
  - tox
env:
  - TOXENV=py26
  - TOXENV=py27
  - TOXENV=pep8

Use Docker infrastruture on Travis CI
Use Docker infrastruture on Travis CI

Docker infra is much faster than VM based one.
We don't need to execute any commands that
require sudo, so we can enable it.