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