From eee67406a5f93791af846574179a6e03ec304e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Sat, 14 Jan 2017 13:14:22 +0100 Subject: [PATCH] CI: some unit tests for the p2p layer --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++ scripts/create_docker_builder.sh | 2 ++ test/Makefile | 10 +++++++++- 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b44d3a45..87b7a28df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,6 +107,36 @@ test:data-encoding: - build - build:test +test:p2p-io-scheduler: + stage: test + tags: + - tezos_builder + script: + - make -C test run-test-p2p-io-scheduler + dependencies: + - build + - build:test + +test:p2p-connection: + stage: test + tags: + - tezos_builder + script: + - make -C test run-test-p2p-connection + dependencies: + - build + - build:test + +test:p2p-connection-pool: + stage: test + tags: + - tezos_builder + script: + - make -C test run-test-p2p-connection-pool + dependencies: + - build + - build:test + expurge: stage: expurge tags: diff --git a/scripts/create_docker_builder.sh b/scripts/create_docker_builder.sh index 1a5592443..c89f6328d 100755 --- a/scripts/create_docker_builder.sh +++ b/scripts/create_docker_builder.sh @@ -9,6 +9,8 @@ image_name=${1:=tezos_build} ocaml_version=${2:=alpine_ocaml-4.03.0} image_version=$3 +docker pull ocaml/opam:${ocaml_version} + cp ${cur_dir}/install_build_deps.sh ${dir} cp ${cur_dir}/../src/tezos-deps.opam ${dir} cat > ${dir}/Dockerfile <