Skip to content

Commit a53066a

Browse files
Merge pull request #32 from networktocode/fix-tests
PyPi upload works when specifying un/pw
2 parents f625e88 + 3156859 commit a53066a

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.travis.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,14 @@ services:
33
- docker
44
python: 3.6
55
script:
6-
- pip install poetry
7-
- python -V
8-
- python3 -V
96
- make tests
107
before_deploy:
118
- pip install poetry
12-
- python -V
13-
- python3 -V
14-
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASSWORD
159
- poetry build
1610
deploy:
1711
provider: script
18-
script: poetry publish
12+
script: poetry publish --username "$PYPI_USER" --password "$PYPI_PASSWORD"
13+
skip_cleanup: true
1914
on:
2015
tags: true
2116
env:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "yangify"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "Library to help parsing/translating YANG models from/to native text/structures"
55
readme = "README.md"
66
authors = ["David Barroso <[email protected]>"]

0 commit comments

Comments
 (0)