Fix Travis CI config for conditional releases
Match dot using character class (avoids escaping headaches)
Merge pull request #792 from redapple/travis-release-cond

Fix Travis CI config for conditional releases