Skip to content

Commit 29dee65

Browse files
authored
Merge pull request #15 from jongracecox/14-fix-extra-padding-around-long-value-text
14 fix extra padding around long value text
2 parents 1850a95 + 71fb255 commit 29dee65

File tree

9 files changed

+530
-238
lines changed

9 files changed

+530
-238
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,12 @@ ENV/
105105

106106
.DS_Store
107107
demo.svg
108+
109+
# py.test
110+
.pytest_cache
111+
112+
# SVG files generated by the unittests
113+
test_badge_*.svg
114+
115+
# html coverage report
116+
htmlcov/

.travis.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1+
dist: xenial
12
language: python
23
python:
34
- '2.7'
45
- '3.5'
56
- '3.6'
7+
- '3.7'
68
install:
79
- pip install -U setuptools pip -r build-requirements.txt
810
script:
9-
- python ./test.py
11+
- pytest --doctest-modules --cov=anybadge anybadge.py tests
12+
before_deploy:
13+
- sed -i "s/^version = .*/version = __version__ = \"$TRAVIS_TAG\"/" anybadge.py
1014
deploy:
1115
- provider: pypi
1216
user: jongracecox
@@ -16,12 +20,4 @@ deploy:
1620
on:
1721
tags: true
1822
all_branches: true
19-
python: '3.6'
20-
- provider: pypi
21-
user: jongracecox
22-
password:
23-
secure: "TwKVv2wGesF3zHMtSzC/whgtBfHOG03wYS8bUOeeH4x8g5wQIu9SVyrYSffYE3FxapHbMCzmx7A3IgP4Ma6v4Ik6HqJY7a5DY/na0bcuI40IyCM2J0S0Hbq4E7WXaCCe6t7C5KE7NO3QzIcZboSZBWb78mcKLB2XbuIWMPCXqayGhqh8hynQmhwQ4C5b+jpBXlLtm6+AFH7eJOSdl8iO39RU5TL6FrOjgmks/KvTO0yHaXxmBoRcVudZsv9sAGsUx/UtRA65FPViIgu/dEV8cNtz7HOtL4v9x1mkvsiHF7OJiB1KCzSdUSCI83JSjdh44jjlNx0x2SnPbbwmCR7hi53xszMLbAHqY27hK1O4ntR1Iaui8HhBx8inxwS5z271xEQ9HZ8W9veRaxXxGkzj3LKGzjYflK1UN/ZK2syy5+cF4AEUpqEuQYi2waGhMxxWRo5KA05RLXetvsJYFEHUlATq9aXjMv29yH77KzySgpZe/Emd+Hb7r/7TKDeWXRaWDtUa+lc7G5oHLn6Kmm0iM1lerFKalEO9eoZwO2m1+O47CJ5yTKw1mNsC5Dj6EhG1QeonJWPS5z32vjNvnzRm2psbInt00SE2ClPxY5ASQOdcCMkq4ELGUHVssOGlniVYILs+tiwzrDTaXcckf8lvVvx6CiXfmFY+JYK9q3HYEuE="
24-
distributions: sdist bdist_wheel
25-
on:
26-
branch: master
27-
python: '3.6'
23+
python: '3.7'

0 commit comments

Comments
 (0)