Travis Ci only remove e2e on develop merge (#6953)

* Travis Ci only remove e2e on develop merge

* Update .travis.yml

* Update .travis.yml
This commit is contained in:
Eugenio Romano
2021-04-27 14:41:42 +01:00
committed by GitHub
parent ba1b337433
commit efe625ea33

View File

@@ -47,10 +47,12 @@ stages:
if: type = push AND tag IS blank if: type = push AND tag IS blank
- name: "Trigger Alpha ADF child build" - name: "Trigger Alpha ADF child build"
if: branch = develop AND type = cron if: branch = develop AND type = cron
- name: "Build Demo shell and Unit test Lib" - name: "Build Demo shell"
if: branch != master AND tag IS blank if: tag IS blank
- name: "Unit test Lib"
if: type = cron || type = pull_request
- name: "e2e Test" - name: "e2e Test"
if: branch != master AND tag IS blank if: type = cron || type = pull_request
- name: "Release tag" - name: "Release tag"
if: branch = master if: branch = master
- name: "Deprecate develop builds" - name: "Deprecate develop builds"
@@ -96,7 +98,7 @@ jobs:
workspaces: workspaces:
use: node_modules_cache use: node_modules_cache
- stage: "Build Demo shell and Unit test Lib" - stage: "Build Demo shell"
name: "Demo Shell :Build && dockerize" name: "Demo Shell :Build && dockerize"
script: script:
# Build Demo shell for production docker" # Build Demo shell for production docker"
@@ -110,25 +112,25 @@ jobs:
use: use:
- built_libs_cache - built_libs_cache
- stage: "Build Demo shell and Unit test Lib" - stage: "Unit test Lib"
name: "content::unit" name: "content::unit"
script: ./scripts/travis/unit-test/content.sh script: ./scripts/travis/unit-test/content.sh
workspaces: workspaces:
use: built_libs_cache use: built_libs_cache
- stage: "Build Demo shell and Unit test Lib" - stage: "Unit test Lib"
name: "core-extension::unit" name: "core-extension::unit"
script: ./scripts/travis/unit-test/core-extension.sh script: ./scripts/travis/unit-test/core-extension.sh
workspaces: workspaces:
use: built_libs_cache use: built_libs_cache
- stage: "Build Demo shell and Unit test Lib" - stage: "Unit test Lib"
name: "process-insights::unit" name: "process-insights::unit"
script: ./scripts/travis/unit-test/process.sh script: ./scripts/travis/unit-test/process.sh
workspaces: workspaces:
use: built_libs_cache use: built_libs_cache
- stage: "Build Demo shell and Unit test Lib" - stage: "Unit test Lib"
name: "process-cloud::unit" name: "process-cloud::unit"
script: ./scripts/travis/unit-test/process-cloud.sh script: ./scripts/travis/unit-test/process-cloud.sh
workspaces: workspaces: