From 18d99add1a4435e6de8ea8955c96bcb56ac26fcc Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Wed, 20 May 2020 12:08:10 +0200 Subject: [PATCH] check different erlang versions --- .gitlab-ci.yml | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d11b7db5..e9891e43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,3 @@ -image: erlang:23 - before_script: - apt-get -q update - apt-get -y install python3 @@ -8,7 +6,36 @@ before_script: - pip3 install -q gunicorn - gunicorn -b 127.0.0.1:8000 -b unix:httpbin.sock httpbin:app& -test: + +OTP-20.3: + image: erlang:20 + script: - - ./support/rebar3 eunit - - ./support/rebar3 dialyzer + - ./support/rebar3 eunit + - ./support/rebar3 dialyzer + + +OTP-21: + image: erlang:21 + + + script: + - ./support/rebar3 eunit + - ./support/rebar3 dialyzer + + +OTP-22: + image: erlang:22 + + script: + - ./support/rebar3 eunit + - ./support/rebar3 dialyzer + + +OTP-23: + image: erlang:23 + + script: + - ./support/rebar3 eunit + - ./support/rebar3 dialyzer +