From 2d989092fbfd5efea11fe11c4c0959f8b12c3d4f Mon Sep 17 00:00:00 2001
From: xgui3783 <xgui3783@gmail.com>
Date: Thu, 25 Jun 2020 20:39:39 +0200
Subject: [PATCH] fix travis e2e (#549)

---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 953c2eb07..99862ef24 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,13 +48,15 @@ jobs:
     - stage: local e2e
       # type = api - should only be activated by API
       # when send API, ensure to set env TEST_SUITE=e2e-local to explicitly trigger this build
-      if: env(TEST_SUITE) = 'e2e-local' AND branch IN (master, staging, dev) AND type = api
+      if: env(TEST_SUITE) =~ /^https/ AND branch IN (master, staging, dev) AND type = api
       name: e2e (local)
       install:
       - npm i
       - npm run wd -- update --versions.chrome=${CHROMIUM_VERSION}
       - npm i --no-save puppeteer@${PPTR_VERSION}
       script:
+      - ATLAS_URL=$TEST_SUITE
+      - echo Running test against $ATLAS_URL
       - npm run e2e
       env:
       - CHROMIUM_VERSION=80.0.3987.106
-- 
GitLab