Skip to content

Commit

Permalink
Fixed dev regex in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 22, 2020
1 parent ddbe617 commit 333ce4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -16,18 +16,18 @@ env:

# quick hack to determine what tag means (improvements welcome)
# release: ^v(\d+|\.)*[^a-z]\d*$
# dev release: ^v(\d+|\.)*[a-z]\d*$
# dev release: ^v(\d+|\.)*[a-z]{1, 2}\d*$

stages:
- test
- name: docs
if: tag =~ ^v(\d+|\.)*[^a-z]\d*$ OR tag = website AND NOT type = pull_request
- name: docs_dev
if: (tag =~ ^v(\d+|\.)*[a-z]\d*$) OR (tag = website_dev) OR ((commit_message =~ /\[doc-build\]/) and branch = master)
if: (tag =~ ^v(\d+|\.)*[a-z]{1,2}\d*$) OR (tag = website_dev) OR ((commit_message =~ /\[doc-build\]/) and branch = master)
- name: conda_dev_package
if: tag =~ ^v(\d+|\.)*[a-z]\d*$
if: tag =~ ^v(\d+|\.)*[a-z]{1,2}\d*$
- name: pip_dev_package
if: tag =~ ^v(\d+|\.)*[a-z]\d*$
if: tag =~ ^v(\d+|\.)*[a-z]{1,2}\d*$
- name: conda_package
if: tag =~ ^v(\d+|\.)*[^a-z]\d*$
- name: pip_package
Expand Down

0 comments on commit 333ce4a

Please sign in to comment.