Update .travis.yml (#1967)

Fixes tags not running when having more than a digit
This commit is contained in:
Florent Vilmart
2016-06-01 13:49:53 -04:00
parent c6c9c97b54
commit 38f02af511

View File

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