Reputation: 59
I am developing a very simple application using Java, and using JUnit to test the application.
I need to be able to create an ANT script as well as a .travis.yml file so that my project can 1) build on Travis, and 2) Automatically run the JUnit tests on each commit.
You can see my revision history on GitHub, but the bigges issues that I have are that
I need help getting this all to work, if you can provide instructions that would be great, if you can submit a pull request that would be even better.
Upvotes: 2
Views: 1381
Reputation: 24540
Your build.xml
does not have a target test
. You could add the line
script: ant <your_target>
to your .travis.yml
file. E.g.
script: ant BackendSingletonTests
Upvotes: 2