mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
start alfresco and change directory back to root
This commit is contained in:
18
.travis.yml
18
.travis.yml
@@ -71,11 +71,9 @@ jobs:
|
||||
- name: "Community Rest API Tests"
|
||||
stage: Tests
|
||||
before_install:
|
||||
- travis_retry travis_wait 90 mvn -B install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo -am
|
||||
- travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo -am
|
||||
install:
|
||||
- cd rm-community/rm-community-repo
|
||||
- docker-compose up -d
|
||||
before_script:
|
||||
- ./scripts/startAlfresco.sh rm-community/rm-community-repo
|
||||
- ./scripts/waitForAlfrescoToStart.sh
|
||||
script:
|
||||
- echo "Community Rest API Tests"
|
||||
@@ -84,9 +82,7 @@ jobs:
|
||||
before_install:
|
||||
- travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-enterprise-repo -am
|
||||
install:
|
||||
- cd rm-enterprise/rm-enterprise-repo
|
||||
- docker-compose up -d
|
||||
before_script:
|
||||
- ./scripts/startAlfresco.sh rm-enterprise/rm-enterprise-repo
|
||||
- ./scripts/waitForAlfrescoToStart.sh
|
||||
script:
|
||||
- echo "Enterprise Rest API Tests"
|
||||
@@ -95,9 +91,7 @@ jobs:
|
||||
before_install:
|
||||
- travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-community-repo,:alfresco-rm-community-share -am
|
||||
install:
|
||||
- cd rm-community/rm-community-share
|
||||
- docker-compose up -d
|
||||
before_script:
|
||||
- ./scripts/startAlfresco.sh rm-community/rm-community-share
|
||||
- ./scripts/waitForAlfrescoToStart.sh
|
||||
script:
|
||||
- echo "Community UI Tests ..."
|
||||
@@ -106,9 +100,7 @@ jobs:
|
||||
before_install:
|
||||
- travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-rm-enterprise-repo,:alfresco-rm-enterprise-share -am
|
||||
install:
|
||||
- cd rm-enterprise/rm-enterprise-share
|
||||
- docker-compose up -d
|
||||
before_script:
|
||||
- ./scripts/startAlfresco.sh rm-enterprise/rm-enterprise-share
|
||||
- ./scripts/waitForAlfrescoToStart.sh
|
||||
script:
|
||||
- echo "Enterprise UI Tests ..."
|
||||
|
5
scripts/startAlfresco.sh
Normal file
5
scripts/startAlfresco.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd $1
|
||||
docker-compose up -d
|
||||
cd ../..
|
Reference in New Issue
Block a user