mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-28 13:42:42 +02:00
Use LNPay backend for CI
As a quickfix to make travis happy we'll use an empty LNPay wallet as backend in tests. This should be replaced with a mock backend later on.
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -5,6 +5,16 @@ python:
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
|
||||
env:
|
||||
global:
|
||||
- LNBITS_BACKEND_WALLET_CLASS=LNPayWallet
|
||||
- LNBITS_FORCE_HTTPS=0
|
||||
- LNPAY_API_ENDPOINT=https://lnpay.co/v1/
|
||||
- LNPAY_API_KEY=sak_gG5pSFZhFgOLHm26a8hcWvXKt98yd
|
||||
- LNPAY_ADMIN_KEY=waka_HqWfOoNE0TPqmQHSYErbF4n9
|
||||
- LNPAY_INVOICE_KEY=waki_ZqFEbhrTyopuPlOZButZUw
|
||||
- LNPAY_READ_KEY=wakr_6IyTaNrvSeu3jbojSWt4ou6h
|
||||
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
- pip install pytest pytest-cov codecov
|
||||
|
Reference in New Issue
Block a user