8000 chore: prep the repo for automated releasing (#134) · sendgrid/python-http-client@fab2e42 · GitHub
[go: up one dir, main page]

Skip to content

Commit fab2e42

Browse files
authored
chore: prep the repo for automated releasing (#134)
1 parent d99717c commit fab2e42

File tree

6 files changed

+32
-28
lines changed

6 files changed

+32
-28
lines changed

.travis.yml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,49 +6,33 @@ python:
66
- '3.4'
77
- '3.5'
88
- '3.6'
9-
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
109
matrix:
1110
include:
1211
- python: 3.7
1312
dist: xenial
1413
sudo: true
1514
fail_fast: true
1615
before_install:
17-
- pip install pycodestyle
16+
- pip install pycodestyle coverage codecov
1817
- if [[ "$TRAVIS_PYTHON_VERSION" == 2.7* ]]; then pip install mock; fi
1918
install:
20-
- pip install codecov
21-
- travis_retry pip install coverage
22-
- python setup.py install
23-
- pip install codecov
19+
- pip install virtualenv --upgrade
20+
- make install
21+
- make test-install
2422
script:
25-
- pycodestyle
23+
- pycodestyle --exclude=venv
2624
- coverage run -m unittest discover
2725
after_script:
2826
- codecov
29-
- python -m unittest discover
27+
- make test
3028
- coverage run tests/test_unit.py
31-
notifications:
32-
hipchat:
33-
rooms:
34-
secure: HJMoEh7l01B8tqQcdp4c4Og2lFY2QCAPnt++a4InM1zF+pbQuALQvS50ILJPc7qoBskqfvXhX9t+coSaKVIMPFuXlHC9haYCBxv0TSTA/j/9SnDGwS70U2YWDIi20/YZrPSN874woL6F/D8/vB+IwYxJWIL+ofasXPm/v+QHKLjEKLggyK8SHsU2BPH++0JluelpnaBt6JcCCY6IL8wu/Bf6ohFHf67cwITPzA33Wmla51W5zHSlaVsqKM+UhK5EWCCvU51t/imfL8cf8h7zNxveqGbaq5Fqk7lBEmHtYdUm0P5RdsHHFiyWvf3Kk8kYBkA4VaSqSdV10g/Q2sURW0F4s6ULJqRBtTIcQFKgUcrkBM22+/I8MrfRkVOUrrlPugOeshtuac3xN0tQBZYc1yIik914NeL1im/doZ5MjsNlQckmF8tmwz9uPMpQBWHRGQwc72EiJ3ANfogMhZhI3GIKQffHP8aO+JTCyzzxQ1fUerF4/YgsciAZdbBRVKmYdElvix6vVxS1QyPEjr3AHzhCFso78vRla7yAXoI2RrzbsnoPo/TBsof4sqbtgPgGWSBPJiZOPh3WNZ5NSUjlefk1PyYsdqM+Ywhk8SApo8eKrDK2ghiKmqSB3yDIs4WJN91CJnhUgt8fl5Q2Iz1pCm/999ma+y/VXOqURudE5wg=
35-
template:
36-
- '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">%{repository}
37-
Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
38-
<a href="https://github.com/sendgrid/%{repository}/commits/%{commit}">View on
39-
GitHub</a>'
40-
format: html
4129
after_success:
4230
- codecov
43-
env:
44-
global:
45-
- secure: 7j0Ox9ZQss0PewrhGih86Ro0pQJpv23Bb0uABJV7kKN/W37ofrG0m6joamf8EhDDleaPoIqfbARhUpAlqFZF0Uo/5rREqpKkmP4e1zuYMu20VbFv6PXwZ+7ByAuKXN2/Xs54MImlL1+RaduMPNRpbcfT1mdqJgSC+3tVcWodzuRG9RPzxtWYLe93QfwNHV/VMsDPDIY12FZTErbXd/hBCEQXep5rNfK+TtLIGn0ZnS7TktTcD0ld+0ruhunbDjnkpXPVSJDuLaGRpotq0oyaGifnjVM5gVubP+KCL3h24tIXjJ7uI36Eu3EuF4qsg0fmNjuM/WjgwZ9Ta4I2MHlXtFs//qMMArOw5AvPg25adrEwGO4Veh3I3tJGL7hJeM7AZX4rAycXiGIHvpP2G/nX6e/EqRrnFBDOStmBhxEaknLJ/p2Cv6AOvxTMKDo8y+tJY1jp3H1iwCBYyW6KuFKVPDYtu8VLxJunaqNX4LxiJN7VHgvTSgqImjzEy5tVxVt079ciyeznSKKGHLHDAl1ioQpmv/Oyas007A4PKJJAf73go8Yt+GM6qe3K6U3tIBKWL8e0cK1kejk9TLC0D9KXbmhmK81QzpBdQfkrveYi/kucVv0zdrGl+Uy8zcq+vYxceyCdDYcTxCS66bWNFTD2t1dML5gRpdNVVSc27ZM9wtA=
46-
- secure: NlSZq/v2vjPQSSjlAbrM1JAfCdBSF/OqmO1HV/7U8HAmyGj7WjAcBkH5qWb5lP/xgUSzP3rEtNBJQNNHHiHHxSY0TtplUkJHrBqZOWGd4nG4GB/w8thj4nOiuok9lQhU2wi4mhRnzw2gGG9XpRpnYqL3a0CWWZ8XilSdL3M1H4fE2rwCSbKo35wpaapAT2BkN/zXeJ62wYX0vsz14EAzRSPlX+zfSo4esjig/B4ubgD1KKq3vRWGX0oU1/b6LYxrRl+OPqql9s3nKa0SuHtzLH4CVM0JTpJ8PxYq/LaLn03evAtgjR3aJJUlXaYL+yVBdATGrtyGUAJTVvRtbWsiaW4KNs+e5eWD+KM1ei18DYHWTMsjRbKLh3DrnUxFSFezMkOgUX4I9aohqPW9q9eTbSi2nR2mEcfDrGPArTZKtmGvx09gil5BAvsYc9A2Ob+TdV0N/bHROdK1R381mY4xWYytZ070+J4YHIKi/AwEJXtYgedc/PDr6fxh9RKDXNybyP2y/i+b72bnij9ZyJc0scDAlRQ4MU/h4cFDohI9quIYpJZ3N3eUeVp7TNX4AT2z+aNj74pBy15eMJv8WYhuBauk3jexhpMQi5yDr7aqlb2/NRyd91oP5QZOcjo7nnPcJp8QyvKtWFeID+c5dV3wcIMeOXmPz1KWWGlJMrV1vZI=
4731
deploy:
4832
provider: pypi
49-
user: thinkingserious
33+
user: __token__
5034
password:
51-
secure: LICjgQDHDZUYFbhrxd/4KGlamfMPMu7Oqf7DCskfJwQqvZTrC7VyvOsPqVtCIIpw/GyE606KagkTEV7nTvwxCWGDQpQ0gkLkUkDzxziJlwKJEjYA3rGzxHCqdGRF6mQLThIpaUwaIpM7Ue4LUyhMSNw7b84F/dg1gWzK+LuqzY6UIRUmu6O2XvwoCWnbmrDrqExgOB7oyBABqlhmISr5x8JeMH+HRSTaHQW0QWeckEYUBPlSdXa4l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K0a9/hnsxsEr7C/3nHPbfFfrKl/6kKjPTLLk+NlpPKVioEQY=
5236
on:
5337
branch: master
5438
condition: "$TRAVIS_TEST_RESULT = 0"

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ All notable changes to this project will be documented in this file.
33

44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6-
## [3.2.0] - 2019-09-11
6+
[2019-09-11] Version 3.2.0
7+
---------------------------
8+
79
### Added
810
- [PR #91](https://github.com/sendgrid/python-http-client/pull/91): Add support for Python 3.7. Thanks, [Hugo van Kemenade](https://github.com/hugovk)!
911
- [PR #96](https://github.com/sendgrid/python-http-client/pull/96): Create a use cases directory. Thanks, [
@@ -137,4 +139,4 @@ Nathan Seebarran](https://github.com/nathan78906)!
137139

138140
## [1.0.0] - 2016-02-25
139141
### Added
140-
- We are live!
142+
- We are live!

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2012 - 2019 Twilio SendGrid, Inc.
3+
Copyright (c) 2012 - 2020 Twilio SendGrid, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.PHONY: venv install test-install test clean nopyc
2+
3+
venv:
4+
@python --version || (echo "Python is not installed, please install Python 2 or Python 3"; exit 1);
5+
virtualenv --python=python venv
6+
7+
install: venv
8+
. venv/bin/activate; pip install -r requirements.txt
9+
10+
test:
11+
. venv/bin/activate; python -m unittest discover -v
12+
13+
clean: nopyc
14+
rm -rf venv
15+
16+
nopyc:
17+
find . -name \*.pyc -delete

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mock

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
include_package_data=True,
2626
license='MIT',
2727
description='HTTP REST client, simplified for Python',
28-
long_description_content_type = 'text/x-rst',
28+
long_description_content_type='text/x-rst',
2929
long_description=readme,
3030
keywords=[
3131
'REST',

0 commit comments

Comments
 (0)
0