Why does Travis CI think my code is Java 1.3, and how to fix it?
Jonik
2013-10-03T20:02:16
I'm trying out Travis CI with a Java project (pretty standard Maven, Spring setup).
Based on Travis docs, this should suffice in the .travis.yml file:
language: java
Travis should notice the project's pom.xml and run mvn test by default.
However, the Travis build fails, giving me:
error: static import declarations are not supported in -source 1.3
My sources are Java 1.6. How and where should I tell that to Travis? The Java project docs don't mention -source option at all. (Also, 1.3 is a bit strange default, isn't it?)
Copyright License: Author:「Jonik」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer. Link to:https://stackoverflow.com/questions/19158720/why-does-travis-ci-think-my-code-is-java-1-3-and-how-to-fix-it
About “Why does Travis CI think my code is Java 1.3, and how to fix it?” questions
I'm trying out Travis CI with a Java project (pretty standard Maven, Spring setup).
Based on Travis docs, this should suffice in the .travis.yml file:
language: java
Travis should notice the pro...
|
I'm new to Travis CI and I simply want to understand why and what is going on here. I've followed the instructions for setup in their documentation to the best of my ability. What I've got is:
My ...
|
I'm trying to get my first Travis CI Build to run with a Python setup but the build get the status of #Errored and the simple Travis interface is leaving me without any help as to why.
I've followe...
|
I am involved with a Python/Flask based project and have to check with Travis CI builds before I submit any work. I find it cumbersome to push and then wait for the build to be done on Travis' end,...
|
I'm using Travic CI as a tool for coutinuous integration on a java maven project and my .travis.yml file is configured this way :
language: java
sudo: false
script: mvn clean verify
But when I ex...
|
I am facing build issue with Travis CI. I am new with Travis CI and as a basic step I have created a file .travis.yml into the GITHUB repository. But whenever I restart the build, it is failing.
I...
|
My git repository structure is as following:
-my-repo
-.mvn
-.travis.yml
-my-parent-project
-child-module
-pom.xml
-pom.xml
Where the parent pom includes
<modules>
&
|
After my commit as follows,
- <a href="admins/main?logintype=openredirect"><fmt:message
+ <a href="admins/main?logintype=openredirect&goto=/uid/serverinfo.jsp"><fmt:m
|
I have a .travis.yml using Trusty Beta VMs which tries to push to the Docker hub. The relevant sections are:
sudo: required
dist: trusty
language: cpp
compiler:
- gcc
services:
- docker...
|
I am trying to setup CI for https://github.com/amCap1712/pljava using Travis. But it fails with following log:
find pljava-packaging -name \*.jar | sudo xargs java -jar
Error: A JNI error has occu...
|
|
|