mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
try to run all UI tests in parallel using shared_job configuration
This commit is contained in:
40
.travis.yml
40
.travis.yml
@@ -37,8 +37,7 @@ stages:
|
|||||||
- name: Release
|
- name: Release
|
||||||
- name: Publish
|
- name: Publish
|
||||||
|
|
||||||
_shared_job:
|
_shared_job: &shared_UI_configuration
|
||||||
- &enterprise_shared_UI_configuration
|
|
||||||
addons:
|
addons:
|
||||||
firefox: "43.0.1"
|
firefox: "43.0.1"
|
||||||
artifacts:
|
artifacts:
|
||||||
@@ -54,22 +53,6 @@ _shared_job:
|
|||||||
script:
|
script:
|
||||||
- travis_wait 60 mvn -B test -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=$TEST_SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
- travis_wait 60 mvn -B test -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=$TEST_SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||||
|
|
||||||
- &community_shared_UI_configuration
|
|
||||||
addons:
|
|
||||||
firefox: "43.0.1"
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- ./rm-automation/rm-automation-ui/target/surefire-reports
|
|
||||||
- ./rm-automation/rm-automation-ui/target/reports
|
|
||||||
- ./rm-automation/rm-automation-ui/target/screenshots
|
|
||||||
target_paths: $TRAVIS_BUILD_NUMBER
|
|
||||||
before_install:
|
|
||||||
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
|
|
||||||
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target
|
|
||||||
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
|
|
||||||
script:
|
|
||||||
- travis_wait 60 mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=$TEST_SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
# - name: "Build AGS Community"
|
# - name: "Build AGS Community"
|
||||||
@@ -126,17 +109,20 @@ jobs:
|
|||||||
- name: "Community Smoke UI Tests for actions in RM site"
|
- name: "Community Smoke UI Tests for actions in RM site"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=communitySmokeRMSite.xml
|
env: TEST_SUITE=communitySmokeRMSite.xml
|
||||||
- <<: *community_shared_UI_configuration
|
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
|
||||||
|
- <<: *shared_UI_configuration
|
||||||
|
|
||||||
- name: "Community Smoke UI Tests for In place Records"
|
- name: "Community Smoke UI Tests for In place Records"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=communitySmokeInPlaceRecords.xml
|
env: TEST_SUITE=communitySmokeInPlaceRecords.xml
|
||||||
- <<: *community_shared_UI_configuration
|
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
|
||||||
|
- <<: *shared_UI_configuration
|
||||||
|
|
||||||
- name: "Community Level 2 UI Tests"
|
- name: "Community Level 2 UI Tests"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=communityLevel2Tests.xml
|
env: TEST_SUITE=communityLevel2Tests.xml
|
||||||
- <<: *community_shared_UI_configuration
|
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
|
||||||
|
- <<: *shared_UI_configuration
|
||||||
|
|
||||||
# - name: "Community Smoke UI Tests for In place Records"
|
# - name: "Community Smoke UI Tests for In place Records"
|
||||||
# stage: Tests
|
# stage: Tests
|
||||||
@@ -156,32 +142,32 @@ jobs:
|
|||||||
- name: "Enterprise Level 2 UI Tests"
|
- name: "Enterprise Level 2 UI Tests"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=enterpriseLevel2Tests.xml
|
env: TEST_SUITE=enterpriseLevel2Tests.xml
|
||||||
<<: *enterprise_shared_UI_configuration
|
<<: *shared_UI_configuration
|
||||||
|
|
||||||
- name: "Enterprise Classification Level 2 UI Tests"
|
- name: "Enterprise Classification Level 2 UI Tests"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=enterpriseLevel2ClassificationTests.xml
|
env: TEST_SUITE=enterpriseLevel2ClassificationTests.xml
|
||||||
<<: *enterprise_shared_UI_configuration
|
<<: *shared_UI_configuration
|
||||||
|
|
||||||
- name: "Enterprise Classification UI Tests"
|
- name: "Enterprise Classification UI Tests"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=enterpriseClassificationTests.xml
|
env: TEST_SUITE=enterpriseClassificationTests.xml
|
||||||
<<: *enterprise_shared_UI_configuration
|
<<: *shared_UI_configuration
|
||||||
|
|
||||||
- name: "Enterprise Guides UI Tests"
|
- name: "Enterprise Guides UI Tests"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=enterpriseGuidesTests.xml
|
env: TEST_SUITE=enterpriseGuidesTests.xml
|
||||||
<<: *enterprise_shared_UI_configuration
|
<<: *shared_UI_configuration
|
||||||
|
|
||||||
- name: "Enterprise Security Marks UI Tests"
|
- name: "Enterprise Security Marks UI Tests"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=enterpriseSecurityMarksTests.xml
|
env: TEST_SUITE=enterpriseSecurityMarksTests.xml
|
||||||
<<: *enterprise_shared_UI_configuration
|
<<: *shared_UI_configuration
|
||||||
|
|
||||||
- name: "Enterprise Console and Configuration UI Tests"
|
- name: "Enterprise Console and Configuration UI Tests"
|
||||||
stage: Tests
|
stage: Tests
|
||||||
env: TEST_SUITE=enterpriseConsoleAndConfigurationTests.xml
|
env: TEST_SUITE=enterpriseConsoleAndConfigurationTests.xml
|
||||||
<<: *enterprise_shared_UI_configuration
|
<<: *shared_UI_configuration
|
||||||
|
|
||||||
# - name: "Enterprise Classification Level 2 UI Tests"
|
# - name: "Enterprise Classification Level 2 UI Tests"
|
||||||
# stage: Tests
|
# stage: Tests
|
||||||
|
Reference in New Issue
Block a user