Install bundle of api_client_ruby first.

This commit is contained in:
Martin Edenhofer 2016-06-30 17:19:12 +02:00
parent 85eaa59b61
commit 989825d1d5

View file

@ -346,7 +346,7 @@ browser:build:
- public/assets/application-*
- public/assets/print-*
test:integration:api_client_ruby:
test:browser:integration:api_client_ruby:
stage: browser
dependencies:
- browser:build
@ -358,6 +358,7 @@ test:integration:api_client_ruby:
- script/build/test_startup.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1
- git clone git@github.com:martini/zammad_api_client_ruby.git || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 1
- cd zammad_api_client_ruby
- bundle install
- export TEST_URL=http://$IP:$BROWSER_PORT
- rspec spec/zammad_api_spec.rb || script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 1 1
- ../script/build/test_shutdown.sh $RAILS_ENV $BROWSER_PORT $WS_PORT 0 1