Removes Java 6 Travis runner

The code doesn't build against Java 6. Also updates the test script to see
if building the code first will sort out the compile failures on Travis.