blob: 896e7f732888bc432669dcf1d26bfe78053ffab4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
language: python
python:
- "3.6"
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
install:
- pip install -r requirements-dev.txt
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install black; fi
- pip install -e .
script:
- ./setup.py test --pytest-args="--cov-report= --cov=litecli"
- coverage report
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then ./setup.py lint; fi
after_success:
- codecov
notifications:
webhooks:
urls:
- YOUR_WEBHOOK_URL
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
|