language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"
  - "3.7"
cache:
  apt: true
  # TODO local node modules path correct?
  directories:
    - $HOME/.pip-cache/
    - $HOME/.tox
    - /home/travis/virtualenv/python2.7
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
install:
  - echo 'Running installation in directory $PWD'
  - # Python
  - pip install -r dev-requirements.txt --cache-dir $HOME/.pip-cache

  - echo "Installed Python packages:"
  - pip freeze

script:
  - py.test
  - tox -e flake8

  - # Documentation
  # - make doc

after_succes:
  coveralls

language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"
  - "3.7-dev"
cache:
  apt: true
  # TODO local node modules path correct?
  directories:
    - $HOME/.pip-cache/
    - $HOME/.tox
    - /home/travis/virtualenv/python2.7
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
install:
  - echo 'Running installation in directory $PWD'
  - # Python
  - pip install -r dev-requirements.txt --cache-dir $HOME/.pip-cache

  - echo "Installed Python packages:"
  - pip freeze

script:
  - py.test
  - tox -e flake8

  - # Documentation
  # - make doc

after_succes:
  coveralls

Set Travis CI Python 3.7 to dev (as 3.7 not released yet)
Set Travis CI Python 3.7 to dev (as 3.7 not released yet)
