language: python
# command to install dependencies
install: "make"
# command to run tests
script:
  - |
    if [[ "$TRAVIS_PYTHON_VERSION" != "2.6" ]] ; then make test-readme; fi
  - make ci
cache: pip
jobs:
  include:
    - stage: test
      script:
        - make test-readme
        - make ci
      python: '2.7'
    - stage: test
      script:
        - make test-readme
        - make ci
      python: '3.4'
    - stage: test
      script:
        - make test-readme
        - make ci
      python: '3.5'
    - stage: test
      script:
        - make test-readme
        - make ci
      python: '3.6'
    - stage: test
      script:
        - make test-readme
        - make ci
      python: '3.7'
      dist: xenial   
    - stage: coverage
      python: '3.6'
      script: codecov

language: python
# command to install dependencies
install: "make"
# command to run tests
script:
  - |
    make test-readme
  - make ci
cache: pip
jobs:
  include:
    - stage: test
      python: '2.7'
    - stage: test
      python: '3.4'
    - stage: test
      python: '3.5'
    - stage: test
      python: '3.6'
    - stage: test
      python: '3.7'
      dist: xenial   
    - stage: coverage
      python: '3.6'
      script: codecov

Remove old Python 2.6 check and duplicate config
Remove old Python 2.6 check and duplicate config
