From 01c1aeec2dcbba9143ac8287f98553eb95a7b963 Mon Sep 17 00:00:00 2001 From: Alvise De Faveri <alvise.defaveri@skywarder.eu> Date: Tue, 26 Feb 2019 02:14:03 +0100 Subject: [PATCH] Added CI file --- .gitlab-ci.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..9bcedf43d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,43 @@ +# This file is a template, and might need editing before it works on your project. +# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options + +# you can delete this line if you're not using Docker +#image: busybox:latest + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +before_script: + - echo "Before script section" + - echo "For example you might run an update here or install a build dependency" + - echo "Or perhaps you might print out some debugging details" + +after_script: + - echo "After script section" + - echo "For example you might do some cleanup here" + +build1: + stage: build + only: + - master + script: + - echo "Do your build here" + - python sbs + +test1: + stage: test + script: + - echo "Do a test here" + - echo "For example run a test suite" + +test2: + stage: test + script: + - echo "Do another parallel test here" + - echo "For example run a lint test" + - ./scripts/linter.sh + +deploy1: + stage: deploy + script: + - echo "Do your deploy here" -- GitLab