8000 Automate deployment on tags · fluent/fluent-logger-python@9705cd0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9705cd0

Browse files
committed
Automate deployment on tags
1 parent df2d3a7 commit 9705cd0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,22 @@ python:
1313
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
1414
install:
1515
- "pip install -e ."
16-
- "pip install 'coverage>=3.7,<3.8' coveralls"
16+
- "pip install coverage==4.4.2 coveralls"
1717
script:
1818
- "PYTHONFAULTHANDLER=x timeout -sABRT 30s nosetests -vsd"
1919
after_success:
2020
- coveralls
2121

22+
deploy:
23+
provider: pypi
24+
user: "username"
25+
password:
26+
secure: "Your encrypted passw"
27+
on:
28+
tags: true
29+
condition: '"$TRAVIS_PYTHON_VERSION" = "3.6" -o "$TRAVIS_PYTHON_VERSION" = "2.7"'
30+
distributions: "sdist bdist_wheel"
31+
2232
matrix:
2333
allow_failures:
2434
- python: nightly

0 commit comments

Comments
 (0)
0