Make jip config portable and travis home independent

master
baztian 2015-04-12 21:16:59 +02:00
parent 5b8be2b0fb
commit e5e91e794c
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ before_install:
install:
- if [ "$JDBC_DRIVER" == "org.jaydebeapi:mockdriver:1.0-SNAPSHOT" ]; then (cd mockdriver && mvn install) ;fi
- if [ -n "$JDBC_DRIVER" ]; then cp ci/dot_jip $VIRTUAL_ENV/.jip && pip install jip==0.7 && 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 envsubst < ci/dot_jip > $VIRTUAL_ENV/.jip && pip install jip==0.7 && 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 .
- pip install -r test-requirements.txt

View File

@ -1,5 +1,5 @@
[repos:local]
uri=/home/travis/.m2/repository/
uri=$HOME/.m2/repository/
type=local
[repos:central]