Fix Travis CI config for conditional releases