Files
lnbits/.travis.yml
T
Sebastian Geisler f7ca28db34 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.
2020-04-28 00:00:56 +02:00

27 lines
563 B
YAML

language: python
python:
- "3.6"
- "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
script:
- pytest --cov=lnbits
after_success:
- codecov