Commit d3e58cc7 authored by Mikaël Salson's avatar Mikaël Salson

.gitlab-ci.yml: Update ruby version used

parent 7688c3e5
Pipeline #61632 failed with stages
in 4 minutes and 18 seconds
...@@ -222,7 +222,7 @@ test_browser-functional: ...@@ -222,7 +222,7 @@ test_browser-functional:
script: script:
- make -C browser - make -C browser
- source /etc/profile.d/rvm.sh - source /etc/profile.d/rvm.sh
- rvm use 2.1.1 - rvm use 2.6.1
- HEADLESS=1 make -C browser/test functional - HEADLESS=1 make -C browser/test functional
artifacts: artifacts:
paths: paths:
...@@ -241,7 +241,7 @@ test_browser-functional-external: ...@@ -241,7 +241,7 @@ test_browser-functional-external:
script: script:
- make -C browser - make -C browser
- source /etc/profile.d/rvm.sh - source /etc/profile.d/rvm.sh
- rvm use 2.1.1 - rvm use 2.6.1
- HEADLESS=1 make -C browser/test external - HEADLESS=1 make -C browser/test external
artifacts: artifacts:
paths: paths:
...@@ -306,7 +306,7 @@ test_server_functional: ...@@ -306,7 +306,7 @@ test_server_functional:
- docker exec docker_uwsgi_1 sed -i "s/^\(FILE_SOURCE .*\)/FILE_SOURCE = '\/usr\/share\/vidjil\/demo'/" /usr/share/vidjil/server/web2py/applications/vidjil/modules/defs.py - docker exec docker_uwsgi_1 sed -i "s/^\(FILE_SOURCE .*\)/FILE_SOURCE = '\/usr\/share\/vidjil\/demo'/" /usr/share/vidjil/server/web2py/applications/vidjil/modules/defs.py
- docker exec docker_nginx_1 make -C /usr/share/vidjil browser - docker exec docker_nginx_1 make -C /usr/share/vidjil browser
- source /etc/profile.d/rvm.sh - source /etc/profile.d/rvm.sh
- rvm use 2.1.1 - rvm use 2.6.1
- HEADLESS=1 make functional_server || (cd docker && docker-compose stop; docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker rmi "vidjil/server:test" "vidjil/client:test"; false) - HEADLESS=1 make functional_server || (cd docker && docker-compose stop; docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker rmi "vidjil/server:test" "vidjil/client:test"; false)
- cd docker && docker-compose stop - cd docker && docker-compose stop
- docker stop $(docker ps -aq) - docker stop $(docker ps -aq)
......
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