workaround for travis bug on conditional releases

https://github.com/travis-ci/travis-ci/issues/1675
Merge pull request #392 from silvolu/work-around-deploy

workaround for travis bug on conditional releases