Merge pull request #114 from zcash-hackworks/mdr0id-patch-stable-ci

Update to stable .gitlab-ci.yml
This commit is contained in:
Marshall Gaucher 2019-10-15 10:35:14 -07:00 committed by GitHub
commit b9ec222328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 9 deletions

View File

@ -38,8 +38,6 @@ build:build-linux:
stage: build
script:
- make
only:
- development
artifacts:
paths:
- ./server
@ -72,10 +70,6 @@ test:test-unittest:
- build:build-linux
script:
- make test
only:
- development
after_script:
- bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
.test:test-race-conditions:
stage: test
@ -93,8 +87,6 @@ test:test-coverage:
- make coverage
- make coverage_report
- make coverage_html
only:
- development
artifacts:
paths:
- ./coverage.html
@ -102,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:
@ -114,7 +118,6 @@ test:test-coverage:
- echo "Generating v0.0.1"
when: manual
# ************************************************************************/
# MONITOR
# ************************************************************************/