diff options
Diffstat (limited to 'tests/integration/run.sh')
-rw-r--r-- | tests/integration/run.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/integration/run.sh b/tests/integration/run.sh index 7808b9b..41c7f7a 100644 --- a/tests/integration/run.sh +++ b/tests/integration/run.sh @@ -1,13 +1,18 @@ #!/usr/bin/env bash +APP_INTEGRATION_DIR=$PWD +ROOT_DIR=../../../.. + +cd ${ROOT_DIR}/build/integration composer install +cd ${APP_INTEGRATION_DIR} -php -S localhost:8080 -t ../../../.. & +php -S localhost:8080 -t ${ROOT_DIR} & PHPPID=$! echo $PHPPID export TEST_SERVER_URL="http://localhost:8080/ocs/" -vendor/bin/behat -f junit -f pretty +${ROOT_DIR}/build/integration/vendor/bin/behat -f junit -f pretty RESULT=$? kill $PHPPID |