diff --git a/.travis.yml b/.travis.yml index 32cce3b186..bbbfb72a19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ jobs: - name: "Community Rest API Tests" stage: Tests install: - - travis_retry travis_wait 90 bash scripts/startAlfresco.sh apply-rm-community + - travis_wait 90 bash scripts/startAlfresco.sh apply-rm-community script: - echo "Community Rest API Tests" - name: "Enterprise Rest API Tests" diff --git a/rm-automation/pom.xml b/rm-automation/pom.xml index aa2ed85f92..5508471f2f 100644 --- a/rm-automation/pom.xml +++ b/rm-automation/pom.xml @@ -112,7 +112,7 @@ postgres:9.1 - 5431:5432 + 5432:5432 alfresco diff --git a/scripts/startAlfresco.sh b/scripts/startAlfresco.sh index 2007e86ddb..e7c37847a1 100644 --- a/scripts/startAlfresco.sh +++ b/scripts/startAlfresco.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# fail script immediately on any errors in external commands and print the lines +set -ev export PROFILE=$1