fix travis script to work with more than one grails version