Fix Travis CI config for conditional releases

smart @eliasdorneles !