Added travis configuration.
Changed language from java to scala in travis.yml