diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f702f6654a7fdb78c17040c813ff0e0747545c3..2082fe989bd61077f4a349b6a0d994acd5b750d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,9 +3,14 @@ stages: # List of stages for jobs, and their order of execution - test ############ YAML ANCHORS ############ +.script_gcc5_template: &script_gcc5_definition + - add-apt-repository ppa:ubuntu-toolchain-r/test + - apt-get update + - apt-get install gcc-snapshot + - apt-get install gcc-5 g++-5 + .script_install_template: &script_install_definition - apt-get update -y && apt-get install -y expect -# - ./auto_script_wolf - ./install_wolf.sh -a -f y -c y -d . -w . .script_test_template: &script_test_definition @@ -30,6 +35,7 @@ installation-test-xenial: cache: [] image: ubuntu:16.04 script: + - *script_gcc5_definition - *script_install_definition - *script_test_definition