Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
language: python
python: 3.5
env:
# Avoid testing pypy on travis until the following issue is fixed:
# https://github.com/travis-ci/travis-ci/issues/4756
#- TOX_ENV=pypy
- TOX_ENV=py35
- TOX_ENV=py34
- TOX_ENV=py33
- TOX_ENV=py27
- TOX_ENV=docs
python:
- pypy
- pypy3.3-5.2-alpha1
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
install:
- pip install coveralls tox
script: tox -e $TOX_ENV
- pip install coveralls tox-travis
script: tox
after_success: coveralls
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy'
),
)
25 changes: 4 additions & 21 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
[tox]
envlist = pypy,py35,py34,py33,py27,docs
envlist = pypy-test,pypy3-test,py36-test,py35-test,py34-test,py33-test,py27-test,py36-docs

[testenv]
commands = coverage run --source=fitbit setup.py test
commands =
test: coverage run --source=fitbit setup.py test
docs: sphinx-build -W -b html docs docs/_build
deps = -r{toxinidir}/requirements/test.txt

[testenv:pypy]
basepython = pypy

[testenv:py35]
basepython = python3.5

[testenv:py34]
basepython = python3.4

[testenv:py33]
basepython = python3.3

[testenv:py27]
basepython = python2.7

[testenv:docs]
basepython = python3.4
commands = sphinx-build -W -b html docs docs/_build