Skip to content

chore: prep the repo for automated releasing #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 8 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,49 +6,33 @@ python:
- '3.4'
- '3.5'
- '3.6'
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
fail_fast: true
before_install:
- pip install pycodestyle
- pip install pycodestyle coverage codecov
- if [[ "$TRAVIS_PYTHON_VERSION" == 2.7* ]]; then pip install mock; fi
install:
- pip install codecov
- travis_retry pip install coverage
- python setup.py install
- pip install codecov
- pip install virtualenv --upgrade
- make install
- make test-install
script:
- pycodestyle
- pycodestyle --exclude=venv
- coverage run -m unittest discover
after_script:
- codecov
- python -m unittest discover
- make test
- coverage run tests/test_unit.py
notifications:
hipchat:
rooms:
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=
template:
- '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">%{repository}
Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
<a href="https://github.com/sendgrid/%{repository}/commits/%{commit}">View on
GitHub</a>'
format: html
after_success:
- codecov
env:
global:
- secure: 7j0Ox9ZQss0PewrhGih86Ro0pQJpv23Bb0uABJV7kKN/W37ofrG0m6joamf8EhDDleaPoIqfbARhUpAlqFZF0Uo/5rREqpKkmP4e1zuYMu20VbFv6PXwZ+7ByAuKXN2/Xs54MImlL1+RaduMPNRpbcfT1mdqJgSC+3tVcWodzuRG9RPzxtWYLe93QfwNHV/VMsDPDIY12FZTErbXd/hBCEQXep5rNfK+TtLIGn0ZnS7TktTcD0ld+0ruhunbDjnkpXPVSJDuLaGRpotq0oyaGifnjVM5gVubP+KCL3h24tIXjJ7uI36Eu3EuF4qsg0fmNjuM/WjgwZ9Ta4I2MHlXtFs//qMMArOw5AvPg25adrEwGO4Veh3I3tJGL7hJeM7AZX4rAycXiGIHvpP2G/nX6e/EqRrnFBDOStmBhxEaknLJ/p2Cv6AOvxTMKDo8y+tJY1jp3H1iwCBYyW6KuFKVPDYtu8VLxJunaqNX4LxiJN7VHgvTSgqImjzEy5tVxVt079ciyeznSKKGHLHDAl1ioQpmv/Oyas007A4PKJJAf73go8Yt+GM6qe3K6U3tIBKWL8e0cK1kejk9TLC0D9KXbmhmK81QzpBdQfkrveYi/kucVv0zdrGl+Uy8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
branch: master
condition: "$TRAVIS_TEST_RESULT = 0"
Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ All notable changes to this project will be documented in this file.

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

## [3.2.0] - 2019-09-11
[2019-09-11] Version 3.2.0
---------------------------

### Added
- [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)!
- [PR #96](https://github.com/sendgrid/python-http-client/pull/96): Create a use cases directory. Thanks, [
Expand Down Expand Up @@ -137,4 +139,4 @@ Nathan Seebarran](https://github.com/nathan78906)!

## [1.0.0] - 2016-02-25
### Added
- We are live!
- We are live!
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

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

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.PHONY: venv install test-install test clean nopyc

venv:
@python --version || (echo "Python is not installed, please install Python 2 or Python 3"; exit 1);
virtualenv --python=python venv

install: venv
. venv/bin/activate; pip install -r requirements.txt

test:
. venv/bin/activate; python -m unittest discover -v

clean: nopyc
rm -rf venv

nopyc:
find . -name \*.pyc -delete
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mock
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
include_package_data=True,
license='MIT',
description='HTTP REST client, simplified for Python',
long_description_content_type = 'text/x-rst',
long_description_content_type='text/x-rst',
long_description=readme,
keywords=[
'REST',
Expand Down