sudo: required

language: python

python:
  - "3.5.2"
  - "3.5"
  - "3.6"

services:
  - docker

env:
  DOCKER_COMPOSE_VERSION: 1.12.0

install:
  - pip install codecov
  - sudo apt-get update
  - sudo apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y docker-ce
  - sudo rm /usr/local/bin/docker-compose
  - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin
  - docker-compose build
  - pip install flake8

script:
  - pyflakes aiodocker tests
  - docker-compose run aiodocker

after_success:
  - codecov

sudo: required

language: python

python:
  - "3.5.2"
  - "3.5"
  - "3.6"

services:
  - docker

env:
  DOCKER_COMPOSE_VERSION: 1.12.0

install:
  - pip install codecov
  - sudo apt-get update
  - sudo apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y docker-ce
  - sudo rm /usr/local/bin/docker-compose
  - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin
  - docker-compose build
  - pip install flake8

script:
  - flake8 aiodocker tests
  - docker-compose run aiodocker

after_success:
  - codecov

Use flake8 check instead of pyflakes
Use flake8 check instead of pyflakes
