[fix] added several config changes to travis config
This commit is contained in:
parent
b192fb03c1
commit
ce65463996
@ -1,5 +1,11 @@
|
|||||||
language: java
|
language: java
|
||||||
|
dist: trusty
|
||||||
|
sudo: false
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- ant-optional
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk7
|
- openjdk7
|
||||||
script:
|
script:
|
||||||
- "ant -buildfile build.xml clean check jar unittest"
|
- "ant -buildfile build.xml clean check jar unittest"
|
||||||
|
|||||||
@ -43,7 +43,7 @@
|
|||||||
<pathelement location="${classes.dir}"/>
|
<pathelement location="${classes.dir}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
||||||
<!-- CLEAN -->
|
<!-- CLEAN -->
|
||||||
<target name="clean" description="Removes all build artifacts">
|
<target name="clean" description="Removes all build artifacts">
|
||||||
<delete dir="${build.dir}"/>
|
<delete dir="${build.dir}"/>
|
||||||
@ -88,7 +88,7 @@
|
|||||||
<target name="unittest" description="Execute unit tests" depends="build">
|
<target name="unittest" description="Execute unit tests" depends="build">
|
||||||
<echo>Building unit tests</echo>
|
<echo>Building unit tests</echo>
|
||||||
<mkdir dir="${build-test.dir}"/>
|
<mkdir dir="${build-test.dir}"/>
|
||||||
<javac debug="true" srcdir="${src-test.dir}" destdir="${build-test.dir}" classpathref="test-classpath"/>
|
<javac debug="true" srcdir="${src-test.dir}" destdir="${build-test.dir}" classpathref="test-classpath" includeantruntime="false"/>
|
||||||
|
|
||||||
<echo>Running unit tests</echo>
|
<echo>Running unit tests</echo>
|
||||||
<mkdir dir="${tmp.dir}/rawtestoutput"/>
|
<mkdir dir="${tmp.dir}/rawtestoutput"/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user