More robust version detection in .travis.yml

`egrep -os -e '([0-9]\.)+[0-9](-\w+)?' version.sbt`