diff --git a/.travis.yml b/.travis.yml index a365e3b..8bbc3b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,13 @@ language: python -# Python 3.5 specified to make tox environment 'py35' work. +# Python versions specified to make tox environment 'py35' and 'py36' work. # See: https://github.com/travis-ci/travis-ci/issues/4794 python: + - 2.7 + - 3.3 + - 3.4 - 3.5 + - 3.6 # Environment changes have to be manually synced with 'tox.ini'. # See: https://github.com/travis-ci/travis-ci/issues/3024 @@ -12,9 +16,11 @@ env: - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 + - TOXENV=py36 - TOXENV=pypy install: + - pip install tox-travis - pip install -r requirements.txt - pip install coveralls @@ -22,6 +28,6 @@ script: - tox after_success: - # Coveralls submission only for py35 environment, because of being the only + # Coveralls submission only for py36 environment, because of being the only # one that executes doctest-modules testing, according to tox.ini. - - if [ ${TOXENV} = "py35" ]; then coveralls; fi + - if [ ${TOXENV} = "py36" ]; then coveralls; fi diff --git a/tox.ini b/tox.ini index 1b84ab8..bc5bf4e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,py33,py34,py35,pypy +envlist = py27,py33,py34,py35,py36,pypy [pytest] addopts = -v --cov flickrapi --cov-report term-missing @@ -15,5 +15,5 @@ deps=pytest==2.9.1 requests-toolbelt==0.3.1 six==1.9.0 -[testenv:py35] +[testenv:py36] commands=py.test --doctest-modules flickrapi tests