seems like travis doesn't like here-docs. move to separate script, try again..