Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deployment through poetry to travis
- Loading branch information
Showing
6 changed files
with
165 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
# C extensions | ||
*.so | ||
.python-version | ||
|
||
# Packages | ||
*.egg | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
dist: xenial # required for Python >= 3.7 | ||
language: python | ||
python: | ||
- "3.7" | ||
python: "3.7" | ||
before_install: | ||
- pip install poetry | ||
install: | ||
- "pip install -e ." | ||
- "pip install -q behave" | ||
# command to run tests | ||
- poetry install | ||
script: | ||
- python --version | ||
- behave | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
#!/usr/bin/env python | ||
# encoding: utf-8 | ||
|
||
import pkg_resources | ||
|
||
""" | ||
jrnl is a simple journal application for your command line. | ||
""" | ||
from __future__ import absolute_import | ||
|
||
__title__ = 'jrnl' | ||
__version__ = '2.0.0-rc1' | ||
__author__ = 'Manuel Ebert' | ||
__license__ = 'MIT License' | ||
__copyright__ = 'Copyright 2013 - 2015 Manuel Ebert' | ||
dist = pkg_resources.get_distribution('jrnl') | ||
__title__ = dist.project_name | ||
__version__ = dist.version |
Oops, something went wrong.