1
0

Add circleci tests

This commit is contained in:
nicolas.dorier
2019-09-04 16:21:42 +09:00
parent acb7fdaf2d
commit a428d06473
3 changed files with 41 additions and 0 deletions

20
.circleci/test-install.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
set -e
cd ..
export BTCPAY_HOST="btcpay.example.local"
export NBITCOIN_NETWORK="mainnet"
export BTCPAYGEN_CRYPTO1="btc"
export BTCPAYGEN_CRYPTO2="ltc"
export BTCPAYGEN_REVERSEPROXY="nginx"
export BTCPAYGEN_LIGHTNING="clightning"
source ./btcpay-setup.sh -i
timeout 10m bash test-connectivity.sh
# Testing scripts are not crashing and installed
btcpay-up.sh
btcpay-update.sh
btcpay-down.sh