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

Travis.yml incorrectly declares build&test as successful #1

Open
jaimeyu opened this issue Nov 23, 2015 · 2 comments
Open

Travis.yml incorrectly declares build&test as successful #1

jaimeyu opened this issue Nov 23, 2015 · 2 comments

Comments

@jaimeyu
Copy link

jaimeyu commented Nov 23, 2015

Visited https://travis-ci.org/strongback/strongback-java-examples and noticed that it doesn't look like the travis.yml is correct. It doesn't seem to build the project nor test it. Can you upload a working example?

I ran this on my local VM and also experience the same issues with openjdk8 & ant (Eclipse works fine).

Snippet from the Travis logs.
compile:
[mkdir] Created dir: /home/travis/build/strongback/strongback-java-examples/minimal-arcade-drive/build
[javac] Compiling 1 source file to /home/travis/build/strongback/strongback-java-examples/minimal-arcade-drive/build
[subant] Failure for target 'null' of: /home/travis/build/strongback/strongback-java-examples/minimal-arcade-drive/build.xml
[subant] The following error occurred while executing this line:
[subant] /home/travis/strongback/java/ant/build.xml:48: copy doesn't support the "quiet" attribute
Trying to override old definition of task classloader
compile:
[mkdir] Created dir: /home/travis/build/strongback/strongback-java-examples/simple-arcade-drive/build
[javac] Compiling 2 source files to /home/travis/build/strongback/strongback-java-examples/simple-arcade-drive/build
[subant] Failure for target 'null' of: /home/travis/build/strongback/strongback-java-examples/simple-arcade-drive/build.xml
[subant] The following error occurred while executing this line:
[subant] /home/travis/strongback/java/ant/build.xml:48: copy doesn't support the "quiet" attribute

@rhauch
Copy link
Member

rhauch commented Dec 1, 2015

I think the problem is in the build.xml file that Strongback provides, which uses a quiet attribute that the older Ant on Travis-CI does not support. It does work locally, but if you want to add an issue to Strongback we can fix it there.

@jaimeyu
Copy link
Author

jaimeyu commented Dec 2, 2015

Done. Thanks.

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

No branches or pull requests

2 participants