jrnl/.travis.yml
Manuel Ebert a61658d453 Add Poetry config
Add deployment through poetry to travis
2020-04-10 11:51:55 -07:00

21 lines
426 B
YAML

dist: xenial # required for Python >= 3.7
language: python
python: "3.7"
before_install:
- pip install poetry
install:
- poetry install
script:
- poetry run python --version
- poetry run behave
before_deploy:
- pip install poetry
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASS
- poetry build
deploy:
provider: script
script: poetry publish
skip_cleanup: true
on:
branch: master
tags: true