Modified the travis CI script

... to test the same build against the old and new hadoop versions.