test.sh 289 Bytes
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1
2
3
4
5
6
7
#!/bin/bash

set -e

cd ~/MetaGer_neu

# Start Webserver
Dominik Hebeler's avatar
Dominik Hebeler committed
8
9
10
nohup php artisan serve --port 8005 >/dev/null 2>&1 &
echo $! > ~/servePid
disown
Dominik Hebeler's avatar
Dominik Hebeler committed
11
12
13

# Start the Browserstack Proxy
~/BrowserStackLocal --key gCyHqmJnNwLhp96LgiVG 2>&1 &
Dominik Hebeler's avatar
Dominik Hebeler committed
14
15
echo $! > ~/browserstackPid
disown
Dominik Hebeler's avatar
Dominik Hebeler committed
16
sleep 5
Dominik Hebeler's avatar
Dominik Hebeler committed
17

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