language: python
sudo: false
cache: pip

before_install:
  - openssl aes-256-cbc -K $encrypted_12e75a453f27_key -iv $encrypted_12e75a453f27_iv -in gcs-service-account.json.enc -out gcs-service-account.json -d

before_script:
  - pip install --upgrade setuptools
  - pip install tox-travis

script: tox

matrix:
  include:
    - python: 3.4
      env: TOXENV=py34
    - python: 3.5
      env: TOXENV=py35
    - python: 3.6
      env: TOXENV=py36
    # https://github.com/travis-ci/travis-ci/issues/9069
    #- python: 3.7
    #  env: TOXENV=py37
    - python: 3.4
      env: TOXENV=flake8
    - python: 3.4
      env: TOXENV=docs

language: python
sudo: false
cache: pip

python:
  - '3.4'
  - '3.5'
  - '3.6'

before_install:
  - openssl aes-256-cbc -K $encrypted_12e75a453f27_key -iv $encrypted_12e75a453f27_iv -in gcs-service-account.json.enc -out gcs-service-account.json -d

install:
  - pip install --upgrade setuptools
  - pip install tox-travis

script: tox

env:
  - TOXENV=py34
  - TOXENV=py35
  - TOXENV=py36
  - TOXENV=flake8
  - TOXENV=docs

Drop matrix and use env list
Drop matrix and use env list
