test.sh 269 Bytes
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash

set -e

cd ~/MetaGer_neu

# Start Webserver
php artisan serve >/dev/null 2>&1 &
servePid=$!

# Start the Browserstack Proxy
~/BrowserStackLocal --key gCyHqmJnNwLhp96LgiVG 2>&1 &
browserstackPid=$!

./vendor/bin/phpunit
Dominik Hebeler's avatar
Dominik Hebeler committed
16 17 18

kill $browserstackPid
kill $servePid