Skip to content

Commit cea8a69

Browse files
Added Twine checking to Travis config (fixes #337)
1 parent 25ef023 commit cea8a69

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ python:
66
install:
77
- pip install -r requirements.dev.txt
88
- pip install --upgrade .
9+
# see #337: flag potential twine issues before attempting to upload to PyPI
10+
- python setup.py sdist
11+
- python setup.py bdist_wheel
12+
- twine check dist/*
913
script:
1014
- tox
1115
notifications:

requirements.dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ sphinx==2.4.4
77
sphinx-autodoc-typehints==1.10.3
88
solar-theme==1.3.3
99
coveralls==1.8.2
10+
twine==3.1.1
11+
wheel==0.34.2

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author = Christopher Timperley
44
author-email = [email protected]
55
url = https://github.com/ChrisTimperley/roswire
66
description = An API for testing and mutating Dockerised ROS systems.
7-
long-description = file: README.md, LICENSE
7+
long-description = file: README.rst, LICENSE
88
keywords = ros, docker, testing, analysis, mutation, repair
99
license = Apache License, Version 2.0
1010
classifiers =

0 commit comments

Comments
 (0)