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