Commit d8b656f8 authored by Dominik Hebeler's avatar Dominik Hebeler

testing ci

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