Skip to content

Commit cdb783b

Browse files
authored
Merge pull request orcasgit#127 from orcasgit/fix-33
Fix the tests
2 parents 9a3a599 + b8a8404 commit cdb783b

3 files changed

Lines changed: 15 additions & 33 deletions

File tree

.travis.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
language: python
2-
python: 3.5
3-
env:
4-
# Avoid testing pypy on travis until the following issue is fixed:
5-
# https://github.com/travis-ci/travis-ci/issues/4756
6-
#- TOX_ENV=pypy
7-
- TOX_ENV=py35
8-
- TOX_ENV=py34
9-
- TOX_ENV=py33
10-
- TOX_ENV=py27
11-
- TOX_ENV=docs
2+
python:
3+
- pypy
4+
- pypy3.3-5.2-alpha1
5+
- 2.7
6+
- 3.3
7+
- 3.4
8+
- 3.5
9+
- 3.6
1210
install:
13-
- pip install coveralls tox
14-
script: tox -e $TOX_ENV
11+
- pip install coveralls tox-travis
12+
script: tox
1513
after_success: coveralls

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
'Programming Language :: Python :: 3.3',
3939
'Programming Language :: Python :: 3.4',
4040
'Programming Language :: Python :: 3.5',
41+
'Programming Language :: Python :: 3.6',
4142
'Programming Language :: Python :: Implementation :: PyPy'
4243
),
4344
)

tox.ini

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
11
[tox]
2-
envlist = pypy,py35,py34,py33,py27,docs
2+
envlist = pypy-test,pypy3-test,py36-test,py35-test,py34-test,py33-test,py27-test,py36-docs
33

44
[testenv]
5-
commands = coverage run --source=fitbit setup.py test
5+
commands =
6+
test: coverage run --source=fitbit setup.py test
7+
docs: sphinx-build -W -b html docs docs/_build
68
deps = -r{toxinidir}/requirements/test.txt
7-
8-
[testenv:pypy]
9-
basepython = pypy
10-
11-
[testenv:py35]
12-
basepython = python3.5
13-
14-
[testenv:py34]
15-
basepython = python3.4
16-
17-
[testenv:py33]
18-
basepython = python3.3
19-
20-
[testenv:py27]
21-
basepython = python2.7
22-
23-
[testenv:docs]
24-
basepython = python3.4
25-
commands = sphinx-build -W -b html docs docs/_build

0 commit comments

Comments
 (0)