Skip to content

Commit

Permalink
Travis Ci only remove e2e on develop merge (#6953)
Browse files Browse the repository at this point in the history
* Travis Ci only remove e2e on develop merge

* Update .travis.yml

* Update .travis.yml
  • Loading branch information
eromano committed Apr 27, 2021
1 parent ba1b337 commit efe625e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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:
Expand Down

0 comments on commit efe625e

Please sign in to comment.