Cache maven home explicitly.
parent
b53b1a3581
commit
18440f1def
|
|
@ -13,6 +13,10 @@ deploy:
|
|||
tags: true
|
||||
repo: baztian/jaydebeapi
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $TRAVIS_BUILD_DIR/.tox/shared/.m2
|
||||
|
||||
python:
|
||||
- '2.6'
|
||||
- '2.7'
|
||||
|
|
@ -28,7 +32,6 @@ matrix:
|
|||
before_install:
|
||||
- ci/before_install.sh
|
||||
- export PATH="$HOME/bin:$PATH"
|
||||
- export TRAVISHOME="$HOME"
|
||||
|
||||
install:
|
||||
- pip install coveralls
|
||||
|
|
|
|||
7
tox.ini
7
tox.ini
|
|
@ -10,8 +10,7 @@ python =
|
|||
|
||||
[testenv]
|
||||
# usedevelop required to enable coveralls source code view.
|
||||
usedevelop = True
|
||||
passenv = TRAVISHOME
|
||||
usedevelop=True
|
||||
whitelist_externals = mvn
|
||||
setenv =
|
||||
CLASSPATH = {envdir}/javalib/*
|
||||
|
|
@ -28,10 +27,10 @@ deps =
|
|||
coverage
|
||||
commands =
|
||||
python --version
|
||||
python ci/jipconf_subst.py {envdir} {env:TRAVISHOME:{toxworkdir}/shared}
|
||||
python ci/jipconf_subst.py {envdir} {toxworkdir}/shared
|
||||
driver-hsqldb: jip install org.hsqldb:hsqldb:1.8.0.10
|
||||
driver-sqliteXerial: jip install org.xerial:sqlite-jdbc:3.7.2
|
||||
driver-mock: mvn -Dmaven.repo.local={env:TRAVISHOME:{toxworkdir}/shared}/.m2/repository -f mockdriver/pom.xml install
|
||||
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 jaydebeapi test/testsuite.py {env:TESTNAME}
|
||||
driver-hsqldb: coverage run -a --source jaydebeapi test/doctests.py
|
||||
|
|
|
|||
Loading…
Reference in New Issue