Welcome to mirror list, hosted at ThFree Co, Russian Federation.

run.sh « integration « tests - github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 41c7f7a0eba6a22ef98c2b570430474369de5524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 ${ROOT_DIR} &
PHPPID=$!
echo $PHPPID

export TEST_SERVER_URL="http://localhost:8080/ocs/"
${ROOT_DIR}/build/integration/vendor/bin/behat -f junit -f pretty
RESULT=$?

kill $PHPPID

exit $RESULT