diff options
author | Sven Gothel <[email protected]> | 2018-01-15 08:52:01 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2018-01-15 08:52:01 +0100 |
commit | 5753e5216c0b91605210b13d796f70e2cc976ba2 (patch) | |
tree | 6315031d076bd0cbf20bf5186c37f687729a03fc | |
parent | f8b4aeff223be3d1766320e43f4cbe8420c393b5 (diff) | |
parent | 357e281cbe8311ea88fcd7b10fb14f629fc5eef9 (diff) |
Merge remote-tracking branch 'remotes/xranby/travis-master' into travistravis
-rw-r--r-- | .travis.yml | 29 | ||||
-rw-r--r-- | make/build-test.xml | 19 |
2 files changed, 34 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..49ee51204 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: java +git: + submodules: false +sudo: false + +addons: + apt: + packages: + - bash + - p7zip-full + - libx11-dev + - libxxf86vm-dev + - xvfb + - libgl1-mesa-dri + +before_install: + - cd .. + - git clone --recurse-submodules git://jogamp.org/srv/scm/gluegen.git gluegen > /dev/null + - pushd gluegen/make + - ant > /dev/null + - popd + - export DISPLAY=:99.0 + - sh -e /etc/init.d/xvfb start + +install: + - pushd jogl/make + - ant + - ant junit.run newt 2>/dev/null + - bash ./scripts/check-junit.sh ../build diff --git a/make/build-test.xml b/make/build-test.xml index eed264e6b..91008eeb9 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -251,7 +251,7 @@ <target name="junit.run.noui" depends="test.compile"> <!-- Test*NOUI* --> - <junit jvm="${jvmJava.exe}" forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> + <junit jvm="${jvmJava.exe}" forkmode="perTest" printsummary="on" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> <env key="${system.env.library.path}" path="${obj.all.paths}"/> <jvmarg value="${junit.run.arg0}"/> <jvmarg value="${junit.run.arg1}"/> @@ -338,7 +338,6 @@ <arg line="filtertrace=true"/> <arg line="haltOnError=false"/> <arg line="haltOnFailure=false"/> - <arg line="showoutput=true"/> <arg line="outputtoformatters=true"/> <arg line="logfailedtests=true"/> <arg line="logtestlistenerevents=true"/> @@ -366,7 +365,7 @@ --> <target name="junit.run.newt" depends="test.compile"> <!-- Test*NEWT* --> - <junit jvm="${jvmJava.exe}" forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> + <junit jvm="${jvmJava.exe}" forkmode="perTest" printsummary="on" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> <env key="${system.env.library.path}" path="${obj.all.paths}"/> <jvmarg value="${junit.run.arg0}"/> <jvmarg value="${junit.run.arg1}"/> @@ -407,7 +406,7 @@ <!-- attribute name="generic.junit.run.awt.include.pattern" --> <!-- Test*AWT* --> - <junit jvm="${jvmJava.exe}" forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> + <junit jvm="${jvmJava.exe}" forkmode="perTest" printsummary="on" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> <env key="${system.env.library.path}" path="${obj.all.paths}"/> <jvmarg value="${junit.run.arg0}"/> <jvmarg value="${junit.run.arg1}"/> @@ -453,7 +452,7 @@ <!-- attribute name="generic.junit.run.newt.awt.include.pattern" --> <!-- Test*AWT* --> - <junit jvm="${jvmJava.exe}" forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> + <junit jvm="${jvmJava.exe}" forkmode="perTest" printsummary="on" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> <env key="${system.env.library.path}" path="${obj.all.paths}"/> <jvmarg value="${junit.run.arg0}"/> <jvmarg value="${junit.run.arg1}"/> @@ -540,7 +539,7 @@ <target name="junit.run.awt.singletest" depends="test.compile, junit.run.settings"> <!-- Test*AWT* --> - <junit jvm="${jvmJava.exe}" forkmode="perTest" showoutput="true" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> + <junit jvm="${jvmJava.exe}" forkmode="perTest" printsummary="on" fork="true" haltonerror="off" timeout="${batchtest.timeout}"> <env key="${system.env.library.path}" path="${obj.all.paths}"/> <jvmarg value="${junit.run.arg0}"/> <jvmarg value="${junit.run.arg1}"/> @@ -600,7 +599,6 @@ <arg line="filtertrace=true"/> <arg line="haltOnError=false"/> <arg line="haltOnFailure=false"/> - <arg line="showoutput=true"/> <arg line="outputtoformatters=true"/> <arg line="logfailedtests=true"/> <arg line="logtestlistenerevents=true"/> @@ -661,7 +659,6 @@ <arg line="filtertrace=true"/> <arg line="haltOnError=false"/> <arg line="haltOnFailure=false"/> - <arg line="showoutput=true"/> <arg line="outputtoformatters=true"/> <arg line="logfailedtests=true"/> <arg line="logtestlistenerevents=true"/> @@ -732,7 +729,6 @@ <arg line="filtertrace=true"/> <arg line="haltOnError=false"/> <arg line="haltOnFailure=false"/> - <arg line="showoutput=true"/> <arg line="outputtoformatters=true"/> <arg line="logfailedtests=true"/> <arg line="logtestlistenerevents=true"/> @@ -854,7 +850,6 @@ ${test.class.fqn} \${line.separator} filtertrace=true \${line.separator} haltOnError=false \${line.separator} haltOnFailure=false \${line.separator} -showoutput=true \${line.separator} outputtoformatters=true \${line.separator} logfailedtests=true \${line.separator} logtestlistenerevents=true \${line.separator} @@ -898,7 +893,6 @@ ${test.class.fqn} \${line.separator} filtertrace=true \${line.separator} haltOnError=false \${line.separator} haltOnFailure=false \${line.separator} -showoutput=true \${line.separator} outputtoformatters=true \${line.separator} logfailedtests=true \${line.separator} logtestlistenerevents=true \${line.separator} @@ -960,7 +954,6 @@ ${test.class.fqn} \${line.separator} filtertrace=true \${line.separator} haltOnError=false \${line.separator} haltOnFailure=false \${line.separator} -showoutput=true \${line.separator} outputtoformatters=true \${line.separator} logfailedtests=true \${line.separator} logtestlistenerevents=true \${line.separator} @@ -1023,7 +1016,6 @@ ${test.class.fqn} \${line.separator} filtertrace=true \${line.separator} haltOnError=false \${line.separator} haltOnFailure=false \${line.separator} -showoutput=true \${line.separator} outputtoformatters=true \${line.separator} logfailedtests=true \${line.separator} logtestlistenerevents=true \${line.separator} @@ -1101,7 +1093,6 @@ ${test.class.fqn} \${line.separator} filtertrace=true \${line.separator} haltOnError=false \${line.separator} haltOnFailure=false \${line.separator} -showoutput=true \${line.separator} outputtoformatters=true \${line.separator} logfailedtests=true \${line.separator} logtestlistenerevents=true \${line.separator} |