51 lines
995 B
YAML
51 lines
995 B
YAML
stages:
|
|
- build
|
|
- test
|
|
- backend-deploy-and-test
|
|
|
|
build:
|
|
stage: build
|
|
only:
|
|
- master
|
|
tags:
|
|
- blockbook
|
|
script: make build
|
|
|
|
unit-test:
|
|
stage: test
|
|
only:
|
|
- master
|
|
tags:
|
|
- blockbook
|
|
script: make test
|
|
|
|
integration-test:
|
|
stage: test
|
|
only:
|
|
- schedules
|
|
tags:
|
|
- blockbook
|
|
script: make test-integration ARGS="-run='TestIntegration/(bcash|bgold|bitcoin|dash|dogecoin|litecoin|vertcoin|zcash)=main/'"
|
|
|
|
backend-deploy-and-test-bitcoin:
|
|
stage: backend-deploy-and-test
|
|
only:
|
|
refs:
|
|
- master
|
|
changes:
|
|
- configs/coins/bitcoin.json
|
|
tags:
|
|
- blockbook
|
|
script: ./contrib/scripts/backend-deploy-and-test.sh bitcoin bitcoin=main debug.log
|
|
|
|
backend-deploy-and-test-bitcoin_testnet:
|
|
stage: backend-deploy-and-test
|
|
only:
|
|
refs:
|
|
- master
|
|
changes:
|
|
- configs/coins/bitcoin_testnet.json
|
|
tags:
|
|
- blockbook
|
|
script: ./contrib/scripts/backend-deploy-and-test.sh bitcoin_testnet bitcoin=test testnet3/debug.log
|