Skip to content

Commit ffe0516

Browse files
Poetry (#24)
* is to == * Update Travis * set dist * use preview poetry * tweak travis * Remove dist * Remove preview * Update poetry * update poetry * remove versions * update travis * remove install prior to deploy * update travis deploy * fix poetry * reduce required python version
1 parent 9c0596f commit ffe0516

File tree

3 files changed

+55
-18
lines changed

3 files changed

+55
-18
lines changed

.travis.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@ before_install:
1616
install:
1717
- poetry install -v
1818

19-
before_deploy:
20-
# User and password environment variables are set as hidden variables through
21-
# the web interface in the project settings.
22-
- poetry config http-basic.pypi $PYPI_USERNAME $PYPI_PASSWORD
23-
- poetry build
24-
25-
deploy:
26-
provider: script
27-
script: poetry publish
28-
skip_cleanup: true
29-
on:
30-
tags: true
19+
jobs:
20+
include:
21+
- stage: build
22+
python: "3.7"
23+
script: echo "Starting Pypi build"
24+
before_deploy:
25+
# User and password environment variables are set as hidden variables through
26+
# the web interface in the project settings.
27+
- poetry config http-basic.pypi $PYPI_USERNAME $PYPI_PASSWORD
28+
- poetry build
29+
deploy:
30+
provider: script
31+
script: poetry publish
32+
skip_cleanup: true
33+
on:
34+
tags: true
35+
branch: master
36+
skip_existing: true
3137

poetry.lock

Lines changed: 33 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ requires = ["poetry>=0.11"]
44

55
[tool]
66
[tool.poetry]
7-
authors = ["Sarcoma <sarcoma@live.co.uk>"]
7+
name = "rummy"
8+
version = "2.0.2"
89
description = "Console Rummy game"
10+
authors = ["Sarcoma <sarcoma@live.co.uk>"]
911
license = "MIT"
10-
name = "rummy"
11-
version = "2.0.1"
1212
[tool.poetry.dependencies]
1313
Pygments = "2.2.0"
1414
ansi-colours = "0.2.6"
@@ -30,7 +30,7 @@ py = "1.7.0"
3030
pytest = "3.10.0"
3131
pytest-cov = "2.6.0"
3232
pytest-mock = "1.10.0"
33-
python = "^3.8"
33+
python = "^3.4"
3434
readme-renderer = "24.0"
3535
requests = "2.20.1"
3636
requests-toolbelt = "0.8.0"

0 commit comments

Comments
 (0)