language: python

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

install:
  - pip install -r requirements.txt

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

branches:
  only:
    - master
cache: pip

language: python

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

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
 - codecov

branches:
  only:
    - master
cache: pip

Add sending report on codecov
Add sending report on codecov