dist: xenial
language: python

cache: pip
python:
  - '2.7'
  - '3.5'
  - '3.6'
  - '3.7'
  - '3.8-dev'
  - 'pypy2.7-6.0'
  - 'pypy3.5-6.0'

env:
  matrix:
    - COVERAGE_COVERAGE=no
    - COVERAGE_COVERAGE=yes

install:
  - pip install -r requirements/ci.pip
  - pip freeze

script:
  - tox

after_script:
  - |
    if [[ $COVERAGE_COVERAGE == 'yes' ]]; then
      python igor.py combine_html
      pip install codecov
      codecov -X gcov coveragepy search xcode fix -f coverage.xml -n $TOXENV
    fi

# Tell Travis what to do
# https://travis-ci.com/nedbat/coveragepy

dist: xenial
language: python

cache: pip
python:
  - '2.7'
  - '3.5'
  - '3.6'
  - '3.7'
  - '3.8-dev'
  - 'pypy2.7-6.0'
  - 'pypy3.5-6.0'

env:
  matrix:
    - COVERAGE_COVERAGE=no
    - COVERAGE_COVERAGE=yes

install:
  - pip install -r requirements/ci.pip
  - pip freeze

script:
  - tox

after_script:
  - |
    if [[ $COVERAGE_COVERAGE == 'yes' ]]; then
      python igor.py combine_html
      pip install codecov
      codecov -X gcov coveragepy search xcode fix -f coverage.xml -n $TOXENV
    fi

Revert "ci: Travis: remove unnecessary comment"
Revert "ci: Travis: remove unnecessary comment"

This reverts commit dde1aac3c4844881bbb1e5eb6cbcca8bb9d9aebd.
