Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting Travis CI #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

junaruga
Copy link

@junaruga junaruga commented Feb 17, 2019

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
Copy link
Author

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"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant