language: python

python:
  - "2.7"
  - "3.5"
  - "3.6"
  - "3.7"

install:
  - pip install -r requirements.txt
  - pip install pytest-cov
  - pip install codecov

script:
 - pyflakes instabot tests examples
 - pycodestyle --ignore=E501 instabot tests
 - pycodestyle --ignore=E402,E501 examples
 - py.test --cov=instabot --cov-report=xml
 - codecov

branches:
  only:
    - master
cache: pip

language: python

python:
  - "2.7"
  - "3.5"
  - "3.6"
  - python: 3.7
    dist: xenial
    sudo: true

install:
  - pip install -r requirements.txt
  - pip install pytest-cov
  - pip install codecov

script:
 - pyflakes instabot tests examples
 - pycodestyle --ignore=E501 instabot tests
 - pycodestyle --ignore=E402,E501 examples
 - py.test --cov=instabot --cov-report=xml
 - codecov

branches:
  only:
    - master
cache: pip

Add some parameters for python 3.7
Add some parameters for python 3.7
