Commit f994264e authored by Dominik Hebeler's avatar Dominik Hebeler

testing ci

parent 145344f5
......@@ -55,8 +55,9 @@ test metager3:
script:
- cd ~/MetaGer_neu
- sh test.sh
- kill $browserstackPid
- kill $servePid
after_script:
- kill `cat ~/browserstackPid` && rm ~/browserstackPid
- kill `cat ~/servePid` && rm ~/servePid
deploy metager3:
stage: deploy
......
......@@ -5,12 +5,14 @@ set -e
cd ~/MetaGer_neu
# Start Webserver
php artisan serve --port 8005 >/dev/null 2>&1 &
servePid=$!
nohup php artisan serve --port 8005 >/dev/null 2>&1 &
echo $! > ~/servePid
disown
# Start the Browserstack Proxy
~/BrowserStackLocal --key gCyHqmJnNwLhp96LgiVG 2>&1 &
browserstackPid=$!
echo $! > ~/browserstackPid
disown
sleep 5
./vendor/bin/phpunit
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment