Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate local dev from pipeline releases #684

Merged
merged 1 commit into from Oct 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 14 additions & 10 deletions .travis.yml
Expand Up @@ -8,18 +8,22 @@ install:
- poetry version
- poetry install
script:
- poetry run python --version
- poetry run behave
- poetry run python --version
- poetry run behave
before_deploy:
- pip install poetry
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASS
- poetry version $TRAVIS_TAG
- make build
- poetry build
deploy:
provider: script
script: make release
skip_cleanup: true
draft: true
on:
branch: master
tags: true
- provider: script
script: poetry publish
skip_cleanup: true
on:
branch: master
tags: true
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
on:
branch: master
8 changes: 0 additions & 8 deletions Makefile
Expand Up @@ -13,10 +13,6 @@ clean:
html:
poetry run mkdocs serve

# Build GitHub Page from docs
docs:
poetry run mkdocs gh-deploy

format: ## check style with flake8
poetry run black features jrnl

Expand All @@ -29,9 +25,5 @@ test: ## Run behave tests
build:
poetry build

release:
poetry publish
poetry run mkdocs gh-deploy

install: clean ## install the package to the active Python's site-packages
poetry install