diff --git a/.travis.yml b/.travis.yml
index 4b22a6737..0f5c0764c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,7 @@ jdk:
   - oraclejdk7
   - openjdk7
   - openjdk6
-script: ant collect
+script: mvn compile test
 install: true
 notifications:
   irc: