diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..896e7f7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,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 |