language: python
matrix:
  include:
  - install: pip install coverage codecov
    python: "3.6"
    script:
    - cd code; coverage run test_png.py; codecov
  - install: pip install flake8
    python: "3.6"
    script:
    - flake8 . --count --show-source --statistics
  - python: "2.7"
  - python: "3.4"
  - python: "3.5"
  - python: "3.6"
  - python: "3.7"
    dist: xenial  # required for Python >= 3.7 (travis-ci/travis-ci#9069)
script:
  - cd code; nosetests

language: python
matrix:
  include:
  - name: codecov
    install: pip install coverage codecov
    python: "3.6"
    script:
    - cd code; coverage run test_png.py; codecov
  - name: flake8
    install: pip install flake8
    python: "3.6"
    script:
    - flake8 . --count --show-source --statistics
  - python: "2.7"
  - python: "3.4"
  - python: "3.5"
  - python: "3.6"
  - python: "3.7"
    dist: xenial  # required for Python >= 3.7 (travis-ci/travis-ci#9069)
script:
  - cd code; nosetests

Add name to Travis jobs
Add name to Travis jobs
