Update .travis.yml (#1428)

Adds regular expression to match tags (yes, match tag in branches...)
Tags should follow:

1.0.0
or
1.0.0-some
This commit is contained in:
Florent Vilmart
2016-04-08 08:02:54 -04:00
parent a770c4cba8
commit ab6925a5e2

View File

@@ -10,6 +10,7 @@ env:
branches:
only:
- master
- /^[0-9].[0-9].[0-9](-.*)?$/
cache:
directories:
- "$HOME/.mongodb/versions/downloads"