From 1d3685da716ecdaf119a130cbf6916b70571bd7c Mon Sep 17 00:00:00 2001 From: Claudia Agache Date: Thu, 2 Jul 2020 20:07:04 +0300 Subject: [PATCH] try to start alfresco --- .travis.yml | 7 +++++++ rm-automation/pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5bebe6cd60..a6211a5bb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,9 @@ before_install: - "cp .travis.settings.xml $HOME/.m2/settings.xml" install: skip +services: + - docker + stages: - name: Build AGS - name: Tests @@ -55,6 +58,10 @@ jobs: - echo "Enterprise Integrations Tests on MySQL" - name: "Community Rest API Tests" stage: Tests + install: + - mvn clean install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests + - cd rm-automation/rm-automation-community-rest-api + - mvn clean install -Pinstall-alfresco,apply-rm-community -Dinstaller.url=https://releases.alfresco.com/Enterprise-5.2/5.2.7/5.2.7/build-00025/ALL/alfresco-content-services-installer-5.2.7-linux-x64.bin script: - echo "Community Rest API Tests" - name: "Enterprise Rest API Tests" diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index 13198cafdc..5508471f2f 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -94,6 +94,46 @@ install-alfresco + + io.fabric8 + docker-maven-plugin + 0.31.0 + + + start-postgresql + generate-test-resources + + start + + + + + test-database + postgres:9.1 + + + 5432:5432 + + + alfresco + alfresco + alfresco + + + -c max_connections=300 + + + database system is ready to accept connections + + + + + + + + + + maven-antrun-plugin