sudo: false
language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
install:
  - if [[ $TRAVIS_PYTHON_VERSION == 3.5 || $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install aiohttp==2.0.6 asynctest==0.10.0; fi
  - pip install -q pep8==1.6.2
script:
  - pep8 .
  - python setup.py test

sudo: false
language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
install:
  - if [[ $TRAVIS_PYTHON_VERSION == 3.5 || $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install aiohttp==2.0.6 asynctest==0.10.0; fi
  - pip install -q pycodestyle==2.3.1
script:
  - pycodestyle .
  - python setup.py test

Move to using pycodestyle instead of pep8
Move to using pycodestyle instead of pep8

(cherry picked from commit da7b91652970d9f2c2fc2864cf824b6670ea4f2f)