Commit bb11c01c authored by Ryan Herbert's avatar Ryan Herbert

.gitlab-ci.yml functional server ensure the correct version of ruby

parent 938712ac
...@@ -245,6 +245,8 @@ test_server_functional: ...@@ -245,6 +245,8 @@ test_server_functional:
- docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/server:test" docker/vidjil-server - docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/server:test" docker/vidjil-server
- docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/client:test" docker/vidjil-client - docker build --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=TEST -t "vidjil/client:test" docker/vidjil-client
- cd docker && docker-compose up -d && cd .. - cd docker && docker-compose up -d && cd ..
- source /etc/profile.d/rvm.sh
- rvm use 2.1.1
- HEADLESS=1 make functional_server || (cd docker && docker-compose stop; false) - HEADLESS=1 make functional_server || (cd docker && docker-compose stop; false)
- cd docker && docker-compose stop - cd docker && docker-compose stop
only: only:
......
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