Skip to content

Commit

Permalink
Merge pull request #418 from RDFLib/test-py34
Browse files Browse the repository at this point in the history
Added python 3.4 to the versions tested by travis and tox
  • Loading branch information
joernhees committed Aug 15, 2014
2 parents 89b5bb5 + 32eb590 commit 5ef7b40
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ python:
- 2.7
- 3.2
- 3.3
- 3.4
# - "pypy"

install:
Expand Down
35 changes: 27 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
envlist =
py25,py26,py27,py32,py33
envlist =
py25,py26,py27,py32,py33,py34

[testenv]
commands =
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} run_tests.py --with-xunit
Expand All @@ -18,7 +18,7 @@ deps =
[testenv:py25]
basepython =
python2.5
commands =
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} run_tests.py --with-xunit
Expand All @@ -36,7 +36,7 @@ deps =
[testenv:py26]
basepython =
python2.6
commands =
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} run_tests.py -v --with-xunit
Expand All @@ -52,7 +52,7 @@ deps =
[testenv:py32]
basepython =
python3.2
commands =
commands =
python setup.py clean --all
python setup.py build
nosetests --where=./build/src \
Expand Down Expand Up @@ -85,10 +85,29 @@ deps =
html5lib
SPARQLWrapper

[testenv:py34]
basepython =
python3.4
commands =
python setup.py clean --all
python setup.py build
nosetests --where=./build/src \
--with-doctest \
--doctest-extension=.doctest \
--doctest-tests
deps =
nose
isodate
pyparsing
bsddb3
html5lib
SPARQLWrapper


[testenv:pypy]
basepython =
pypy
commands =
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
{envpython} run_tests.py --with-xunit
Expand All @@ -103,7 +122,7 @@ deps =
[testenv:cover]
basepython =
python2.7
commands =
commands =
{envpython} run_tests.py --where=./ \
--with-coverage --cover-html --cover-html-dir=./coverage \
--cover-package=rdflib --cover-inclusive
Expand Down

0 comments on commit 5ef7b40

Please sign in to comment.