From f4b41b6725e65c706747daea4e3bc5307a4aa1c8 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Thu, 29 Nov 2018 02:27:03 +0000 Subject: [PATCH] gitlab-ci.yml: Add a configuration file for GitLab CI This patch adds a configuration file for the GitLab CI environment, to run the integration tests with docker. --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8be0f5e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ + +stages: + - test + +integration_test: + stage: test + image: docker:stable + services: + - docker:dind + script: + - docker info + - docker build -t chasquid-test -f test/Dockerfile . + - docker run chasquid-test env + - docker run chasquid-test make test