Skip to content

Commit

Permalink
Switch to tox develeopment mode to fix source view on coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
baztian committed Mar 10, 2017
1 parent 4c6efb7 commit 561d447
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tox.ini
Expand Up @@ -9,6 +9,8 @@ python =
3.6: py36-driver-{hsqldb,mock,sqliteXerial}

[testenv]
# usedevelop required to enable coveralls source code view.
usedevelop=True
whitelist_externals = mvn
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
setenv =
Expand All @@ -21,7 +23,6 @@ deps =
py26: unittest2==0.5.1
# urllib3 required by coveralls. See https://github.com/eddyxu/cpp-coveralls/issues/108
py26: urllib3[secure]

py: JPype1==0.6.2
jip==0.9.10
coveralls
Expand All @@ -32,6 +33,6 @@ commands =
driver-sqliteXerial: jip install org.xerial:sqlite-jdbc:3.7.2
driver-mock: mvn -Dmaven.repo.local={toxworkdir}/shared/.m2/repository -f mockdriver/pom.xml install
driver-mock: jip install org.jaydebeapi:mockdriver:1.0-SNAPSHOT
coverage run -a --source {envsitepackagesdir}/jaydebeapi test/testsuite.py {env:TESTNAME}
driver-hsqldb: coverage run -a --source {envsitepackagesdir}/jaydebeapi test/doctests.py
coverage run -a --source jaydebeapi test/testsuite.py {env:TESTNAME}
driver-hsqldb: coverage run -a --source jaydebeapi test/doctests.py
python ci/run_coveralls.py

0 comments on commit 561d447

Please sign in to comment.