diff --git a/.travis.yml b/.travis.yml index b7c0ae4502..0c59b7c23f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,9 +12,10 @@ branches: - /hotfix-2.7\/.*/ env: - - AUTOMATION_COMMUNITY_TARGET=rm-automation/rm-automation-community-rest-api/target - - AUTOMATION_ENTERPRISE_TARGET=rm-automation/rm-automation-enterprise-rest-api/target - - AUTOMATION_UI_TARGET=rm-automation/rm-automation-ui/target + - AUTOMATION_COMMUNITY_PATH=rm-automation/rm-automation-community-rest-api + - AUTOMATION_ENTERPRISE_PATH=rm-automation/rm-automation-enterprise-rest-api + - AUTOMATION_UI_PATH=rm-automation/rm-automation-ui + - TARGET=target cache: directories: @@ -23,9 +24,9 @@ cache: - rm-community/rm-community-share/target - rm-enterprise/rm-enterprise-repo/target - rm-enterprise/rm-enterprise-share/target - - $AUTOMATION_COMMUNITY_TARGET - - $AUTOMATION_ENTERPRISE_TARGET - - $AUTOMATION_UI_TARGET + - $AUTOMATION_COMMUNITY_PATH/$TARGET + - $AUTOMATION_ENTERPRISE_PATH/$TARGET + - $AUTOMATION_UI_PATH/$TARGET # the cache can grow constantly before_cache: - rm -rf $HOME/.m2/repository/org/alfresco/alfresco-rm* @@ -70,9 +71,9 @@ jobs: - echo "Enterprise Integrations Tests on MySQL" - name: "Community Rest API Tests" stage: Tests - before_install: travis_wait 60 bash scripts/downloadInstaller.sh $AUTOMATION_COMMUNITY_TARGET + before_install: travis_wait 60 bash scripts/downloadInstaller.sh $AUTOMATION_COMMUNITY_PATH/$TARGET install: - - travis_wait 60 bash scripts/startAlfresco.sh "rm-automation/rm-automation-community-rest-api" apply-rm-community + - travis_wait 60 bash scripts/startAlfresco.sh $AUTOMATION_COMMUNITY_PATH apply-rm-community script: - echo "Community Rest API Tests" - name: "Enterprise Rest API Tests"