FastQC icon indicating copy to clipboard operation
FastQC copied to clipboard

Starting Travis CI

Open junaruga opened this issue 6 years ago • 1 comments

Hello Simon. I faced a build error on JDK 10 ARM-64 environment. But this issue also happens on x86_64 environment.

$ ant
Buildfile: /home/travis/build/junaruga/FastQC/build.xml
build-subprojects:
init:
    [mkdir] Created dir: /home/travis/build/junaruga/FastQC/bin
     [copy] Copying 60 files to /home/travis/build/junaruga/FastQC/bin
build-project:
     [echo] FastQC: /home/travis/build/junaruga/FastQC/build.xml
    [javac] Compiling 136 source files to /home/travis/build/junaruga/FastQC/bin
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

Then I realized this repository does not have CI environment. So, I prepared Travis CI environment for this repository. Shall we start Travis CI for this repository? It's useful to detect an issue for covered platforms.

See below results on JDK 8, 9, 10, and 11. https://travis-ci.org/junaruga/FastQC/builds/494486515 The build is succeeded for JDK 8. But failed for JDK 9, 10, and 11.

You can just start your Travis CI on this repository enabling it from below page. https://travis-ci.org/s-andrews/FastQC

Thank you.

junaruga avatar Feb 17 '19 12:02 junaruga

I suppose what you need is just to modify below part to 1.6 or more number.

$ git diff build.xml 
diff --git a/build.xml b/build.xml
index c4a6920..6827f68 100644
--- a/build.xml
+++ b/build.xml
@@ -7,8 +7,8 @@
 <project basedir="." default="build" name="FastQC">
     <property environment="env"/>
     <property name="debuglevel" value="source,lines,vars"/>
-    <property name="target" value="1.5"/>
-    <property name="source" value="1.5"/>
+    <property name="target" value="1.6"/>
+    <property name="source" value="1.6"/>
     <path id="FastQC.classpath">
         <pathelement location="bin"/>
         <pathelement location="jbzip2-0.9.jar"/>

junaruga avatar Feb 25 '19 16:02 junaruga