diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0de5abe..5e9dd1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -70,8 +70,6 @@ test:test-unittest: - build:build-linux script: - make test - after_script: - - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN .test:test-race-conditions: stage: test @@ -89,8 +87,6 @@ test:test-coverage: - make coverage - make coverage_report - make coverage_html - only: - - external_pull_requests artifacts: paths: - ./coverage.html @@ -98,6 +94,18 @@ test:test-coverage: # ************************************************************************/ # DEPLOY # ************************************************************************/ +deploy_staging: + stage: deploy + script: + - make + - make test + environment: + name: staging + only: + - master + after_script: + - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN + .release-candidate: stage: deploy script: @@ -110,7 +118,6 @@ test:test-coverage: - echo "Generating v0.0.1" when: manual - # ************************************************************************/ # MONITOR # ************************************************************************/