title: How do I configure Travis CI build testing for a Java Eclipse project?
body: <p>I have an Eclipse Java project on GitHub. I would like to set up auto-build testing with Travis CI. However, when I enable build testing for my project, compilation always fails with the following error.</p>
  
  <pre class="lang-none prettyprint-override"><code>Buildfile: build.xml does not exist!
  Build failed
  
  The command "ant test" exited with 1.
  </code></pre>
  
  <p>How do I configure Travis CI to run build tests for my Java Eclipse project?</p>