Commit d8b656f8 authored by Dominik Hebeler's avatar Dominik Hebeler

testing ci

parent 774dd174
......@@ -54,10 +54,12 @@ test metager3:
- development@open-source/MetaGer
script:
- cd ~/MetaGer_neu
- sh test.sh
after_script:
- kill `cat ~/browserstackPid` && rm ~/browserstackPid
- kill `cat ~/servePid` && rm ~/servePid
- nohup php artisan serve --port 8005 >/dev/null 2>&1 &
- servePid=$!
- nohup ~/BrowserStackLocal --key gCyHqmJnNwLhp96LgiVG 2>&1 &
- browserstackPid=$!
- sleep 5
- ( trap 'kill $servePid && kill $browserstackPid' EXIT; sh test.sh )
deploy metager3:
stage: deploy
......
......@@ -2,15 +2,4 @@
set -e
cd ~/MetaGer_neu
# Start Webserver
nohup php artisan serve --port 8005 >/dev/null 2>&1 &
echo $! > ~/servePid
# Start the Browserstack Proxy
~/BrowserStackLocal --key gCyHqmJnNwLhp96LgiVG 2>&1 &
echo $! > ~/browserstackPid
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