Fix maven repo access again.
parent
2e3d8ce1a8
commit
72dbb832d9
|
|
@ -38,7 +38,7 @@ before_install:
|
|||
|
||||
install:
|
||||
- if [ "$JDBC_DRIVER" == "org.jaydebeapi:mockdriver:1.0-SNAPSHOT" ]; then (cd mockdriver && mvn -Dmaven.repo.local=$VIRTUAL_ENV/.m2/repository install) ;fi
|
||||
- if [ -n "$JDBC_DRIVER" ]; then python jipconf_subst.py $VIRTUAL_ENV && pip install jip==0.9.3 && jip install $JDBC_DRIVER && export CLASSPATH=$VIRTUAL_ENV/javalib/* ;fi # TODO: Fix jip to search for local maven repo without twaking .jip
|
||||
- if [ -n "$JDBC_DRIVER" ]; then python ci/jipconf_subst.py $VIRTUAL_ENV $VIRTUAL_ENV && pip install jip==0.9.3 && jip install $JDBC_DRIVER && export CLASSPATH=$VIRTUAL_ENV/javalib/* ;fi # TODO: Fix jip to search for local maven repo without twaking .jip
|
||||
- source $HOME/myvirtualenv/bin/activate
|
||||
- pip install -e .
|
||||
- if [ -z "$JYTHON" ]; then pip install coveralls ;fi
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ from os import path
|
|||
import sys
|
||||
|
||||
home=sys.argv[1]
|
||||
dist=sys.argv[2]
|
||||
with open(path.join(home, '.jip'), "w") as out:
|
||||
print("""[repos:local]
|
||||
uri={0}/.m2/repository/
|
||||
|
|
@ -12,4 +13,4 @@ type=local
|
|||
[repos:central]
|
||||
uri=http://repo1.maven.org/maven2/
|
||||
type=remote
|
||||
""".format(home), file=out)
|
||||
""".format(dist), file=out)
|
||||
2
tox.ini
2
tox.ini
|
|
@ -15,7 +15,7 @@ deps =
|
|||
jip==0.9.3
|
||||
commands =
|
||||
# Should be changed to {toxinidir} once i manage to download javalibs in tox
|
||||
python jipconf_subst.py {distdir}
|
||||
python ci/jipconf_subst.py {envdir} {distdir}
|
||||
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={distdir}/.m2/repository -f mockdriver/pom.xml install
|
||||
|
|
|
|||
Loading…
Reference in New Issue