Uses dev branch for e2e testing on all feature branches

This commit is contained in:
Aaron Louie 2020-08-03 16:12:02 -04:00
parent e16ea33cb5
commit 70caa2a819
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,9 @@ services:
before_install: before_install:
- | - |
if [[ $TRAVIS_BRANCH =~ ^(dev|testing|demo|training|staging|rrt\/.*)$ ]]; then if [[ $TRAVIS_BRANCH =~ ^(feature\/.*)$ ]]; then
export E2E_TAG="dev"
elif [[ $TRAVIS_BRANCH =~ ^(dev|testing|demo|training|staging|rrt\/.*)$ ]]; then
export E2E_TAG="${TRAVIS_BRANCH//\//_}" export E2E_TAG="${TRAVIS_BRANCH//\//_}"
else else
export E2E_TAG="latest" export E2E_TAG="latest"