diff --git a/.travis.yml b/.travis.yml index 0e457228d9..f3a105d1a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,23 +37,6 @@ stages: - name: Release - name: Publish -_shared_job: &enterprise_shared_UI_configuration - stage: Tests - 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-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml - script: - - travis_wait 60 xvfb-run --server-args="-screen 0 1920x1080x24" 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} - jobs: include: # - name: "Build AGS Community" @@ -133,33 +116,48 @@ jobs: script: - travis_wait 60 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=communityLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS} - - name: "Enterprise Level 2 UI Tests" + - &enterprise_shared_UI_configuration + name: "Enterprise Level 2 UI Tests" + stage: Tests env: TEST_SUITE=enterpriseLevel2Tests.xml - <<: *enterprise_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-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml + script: + - travis_wait 60 xvfb-run --server-args="-screen 0 1920x1080x24" 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} - - name: "Enterprise Classification Level 2 UI Tests" + - <<: *enterprise_shared_UI_configuration + name: "Enterprise Classification Level 2 UI Tests" env: TEST_SUITE=enterpriseLevel2ClassificationTests.xml - <<: *enterprise_shared_UI_configuration - - name: "Enterprise Classification UI Tests" + - <<: *enterprise_shared_UI_configuration + name: "Enterprise Classification UI Tests" env: TEST_SUITE=enterpriseContentClassificationTests.xml - <<: *enterprise_shared_UI_configuration - - name: "Enterprise Folders Classification UI Tests" + - <<: *enterprise_shared_UI_configuration + name: "Enterprise Folders Classification UI Tests" env: TEST_SUITE=enterpriseFoldersClassificationTests.xml - <<: *enterprise_shared_UI_configuration - - name: "Enterprise Guides UI Tests" + - <<: *enterprise_shared_UI_configuration + name: "Enterprise Guides UI Tests" env: TEST_SUITE=enterpriseGuidesTests.xml - <<: *enterprise_shared_UI_configuration - - name: "Enterprise Security Marks UI Tests" + - <<: *enterprise_shared_UI_configuration + name: "Enterprise Security Marks UI Tests" env: TEST_SUITE=enterpriseSecurityMarksTests.xml - <<: *enterprise_shared_UI_configuration - - name: "Enterprise Console and Configuration UI Tests" + - <<: *enterprise_shared_UI_configuration + name: "Enterprise Console and Configuration UI Tests" env: TEST_SUITE=enterpriseConsoleAndConfigurationTests.xml - <<: *enterprise_shared_UI_configuration - name: "Source Clear Scan (SCA)" stage: Security Scans