From e51e8d10d89d7af1c20c30cc634a7a018e200318 Mon Sep 17 00:00:00 2001 From: Claudia Agache Date: Fri, 28 Aug 2020 14:32:29 +0300 Subject: [PATCH] Run community rest api tests --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 81639d159f..dfbe2acc21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,13 +70,14 @@ jobs: - echo "Enterprise Integrations Tests on MySQL" - name: "Community Rest API Tests" stage: Tests - before_install: - - travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo -am install: + - travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo -am + - travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-rm-automation-community-rest-api -am + before_script: - bash scripts/startAlfresco.sh $COMMUNITY_REPO_PATH - bash scripts/waitForAlfrescoToStart.sh - script: - - echo "Community Rest API Tests" + script: mvn -B test -pl :alfresco-rm-automation-community-rest-api -Dskip.automationtests=false + after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000 - name: "Enterprise Rest API Tests" stage: Tests before_install: