dist: trusty

language: python

cache:
  directories:
  - /home/travis/download
  - /home/travis/.cache/pip

# This matrix tests that the code works on Python 2.7,
# 2.7.8, 3.5, 3.6, and passes lint.
matrix:
  fast_finish: true
  include:
    - env: PYTHON_VERSION="2.7"
    - env: PYTHON_VERSION="2.7.8"
    - env: PYTHON_VERSION="3.5"
    - env: PYTHON_VERSION="3.6"
    - env: PYTHON_VERSION="2.7" RUN_FLAKE8="true" SKIP_TESTS="true"

notifications:
  email: false

install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh
after_success: source build_tools/travis/after_success.sh

dist: trusty

language: python

cache:
  directories:
  - /home/travis/download
  - /home/travis/.cache/pip

# This matrix tests that the code works on Python 2.7,
# 2.7.8, 3.5, 3.6, and passes lint.
matrix:
  fast_finish: true
  include:
    - env: PYTHON_VERSION="2.7" COVERAGE="true"
    - env: PYTHON_VERSION="2.7.8" COVERAGE="true"
    - env: PYTHON_VERSION="3.5" COVERAGE="true"
    - env: PYTHON_VERSION="3.6" COVERAGE="true"
    - env: PYTHON_VERSION="2.7" RUN_FLAKE8="true" SKIP_TESTS="true"

notifications:
  email: false

install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh
after_success: source build_tools/travis/after_success.sh

Add COVERAGE=true env vars to test matrix
Add COVERAGE=true env vars to test matrix
