Try to compile mockdriver on travis ci.

master
baztian 2015-04-01 19:47:19 +02:00
parent 01b1eea67d
commit ae4f418e85
3 changed files with 19 additions and 4 deletions

View File

@ -7,6 +7,11 @@ python:
- '2.6'
- '2.7'
addons:
apt:
packages:
- maven
env:
matrix:
- BACKEND=hsqldb TESTNAME=test_integration.HsqldbTest
@ -29,10 +34,13 @@ before_install:
install:
- pip install jip==0.7
- cp ci/dot_jip $VIRTUAL_ENV/.jip # TODO: Fix jip to search for local maven repo
- pip install -e .
- pip install -r test-requirements.txt
- jip install org.xerial:sqlite-jdbc:3.7.2
- jip install org.hsqldb:hsqldb:1.8.0.10
- (cd mockdriver && mvn install)
- jip install mockdriver
script:
- export CLASSPATH=$VIRTUAL_ENV/javalib/*

7
ci/dot_jip 100644
View File

@ -0,0 +1,7 @@
[repos:local]
uri=/home/travis/.m2/repository/
type=local
[repos:central]
uri=http://repo1.maven.org/maven2/
type=remote

View File

@ -7,11 +7,9 @@
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>mockdriver</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
@ -34,6 +32,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
@ -53,6 +52,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<configuration>
<archive>
<manifest>