ttstack 0.0.1

To be correct, To be reliable! A lightweight private cloud solution for SME scenarios.
Documentation
stages:
  - build
  - test
  - deploy

job_build:
  stage: build
  script:
    - make lint
  tags:
    - rust

job_test:
  stage: test
  script:
    - make test
    - export PATH=$PATH:~/.cargo/bin
    - cargo kcov --all
    - COVERAGE=$(grep -Po '(?<="covered":")\d+(?:\.\d+)?(?=")' target/cov/index.js)
    # Tips: use '^Coverage:\s+(\d+(?:\.\d+)?)' on gitlab to capture the result
    - echo "Coverage:" ${COVERAGE}
  tags:
    - rust