From efe625ea330772d40de6a5251bc52c2d94373452 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Tue, 27 Apr 2021 14:41:42 +0100 Subject: [PATCH] Travis Ci only remove e2e on develop merge (#6953) * Travis Ci only remove e2e on develop merge * Update .travis.yml * Update .travis.yml --- .travis.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4cbe771738..1c8751e659 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,10 +47,12 @@ stages: if: type = push AND tag IS blank - name: "Trigger Alpha ADF child build" if: branch = develop AND type = cron - - name: "Build Demo shell and Unit test Lib" - if: branch != master AND tag IS blank + - name: "Build Demo shell" + if: tag IS blank + - name: "Unit test Lib" + if: type = cron || type = pull_request - name: "e2e Test" - if: branch != master AND tag IS blank + if: type = cron || type = pull_request - name: "Release tag" if: branch = master - name: "Deprecate develop builds" @@ -96,7 +98,7 @@ jobs: workspaces: use: node_modules_cache - - stage: "Build Demo shell and Unit test Lib" + - stage: "Build Demo shell" name: "Demo Shell :Build && dockerize" script: # Build Demo shell for production docker" @@ -110,25 +112,25 @@ jobs: use: - built_libs_cache - - stage: "Build Demo shell and Unit test Lib" + - stage: "Unit test Lib" name: "content::unit" script: ./scripts/travis/unit-test/content.sh workspaces: use: built_libs_cache - - stage: "Build Demo shell and Unit test Lib" + - stage: "Unit test Lib" name: "core-extension::unit" script: ./scripts/travis/unit-test/core-extension.sh workspaces: use: built_libs_cache - - stage: "Build Demo shell and Unit test Lib" + - stage: "Unit test Lib" name: "process-insights::unit" script: ./scripts/travis/unit-test/process.sh workspaces: use: built_libs_cache - - stage: "Build Demo shell and Unit test Lib" + - stage: "Unit test Lib" name: "process-cloud::unit" script: ./scripts/travis/unit-test/process-cloud.sh workspaces: