language: python

python:
  - 2.7

install:
  - pip install requests markdown beautifulsoup4

script:
  - python check_urls.py free-software-testing-books-ru.md
  - python check_urls.py free-software-testing-books.md

notifications:
  email:
    recipients:
      - estetus+travis-ci@gmail.com
    on_success: change
    on_failure: always

language: python

python:
  - "2.7"
  - "3.6"

matrix:
  allow_failures:
    - python: "3.6"

install:
  - pip install requests markdown beautifulsoup4 flake8

before_script:
  # stop the build if there are Python syntax errors or undefined names
  - time flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
  # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
  - time flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

script:
  - python check_urls.py free-software-testing-books-ru.md
  - python check_urls.py free-software-testing-books.md

notifications:
  email:
    recipients:
      - estetus+travis-ci@gmail.com
    on_success: change
    on_failure: always

Test in both Python 2 and 3 with flake8 tests also
Test in both Python 2 and 3 with flake8 tests also