make it work with templ
fix test
update travis to be only used for >= go1.1