Skip to content

Commit

Permalink
Merge pull request #75 from rollbar/bugfix/invalid-utf8-during-encoding
Browse files Browse the repository at this point in the history
Bugfix/invalid utf8 during encoding
  • Loading branch information
coryvirok committed Oct 9, 2015
2 parents 68c90a8 + c3b3379 commit 41a5519
Show file tree
Hide file tree
Showing 20 changed files with 1,751 additions and 709 deletions.
38 changes: 20 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
sudo: false
language: python

python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"

env:
- FLASK_VERSION=0.9
- FLASK_VERSION=0.10.1
- TWISTED_VERSION=15.4

matrix:
exclude:
- python: "3.2"
include:
- python: "2.6"
env: FLASK_VERSION=0.9
- python: "3.2"
- python: "2.7"
env: FLASK_VERSION=0.10.1
- python: "3.3"
env: FLASK_VERSION=0.10.1
- python: "3.4"
env: FLASK_VERSION=0.10.1

- python: "2.7"
env: TWISTED_VERSION=15.4

- python: "2.6"
env: DJANGO_VERSION=1.4
- python: "2.7"
env: DJANGO_VERSION=1.4
- python: "3.2"
env: DJANGO_VERSION=1.7
- python: "3.3"
env: FLASK_VERSION=0.9
env: DJANGO_VERSION=1.8
- python: "3.4"
env: FLASK_VERSION=0.9
env: DJANGO_VERSION=1.8

install:
- if [ -v FLASK_VERSION ]; then pip install Flask==$FLASK_VERSION; fi
- if [ -v TWISTED_VERSION ]; then pip install Twisted==$TWISTED_VERSION service_identity pyOpenSSL; fi
- if [ -v DJANGO_VERSION ]; then pip install Django==$DJANGO_VERSION; fi

script:
- python setup.py test
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ ROLLBAR = {
<!-- RemoveNextIfProject -->
Be sure to replace ```POST_SERVER_ITEM_ACCESS_TOKEN``` with your project's ```post_server_item``` access token, which you can find in the Rollbar.com interface.

Check out the [Django example](https://github.com/rollbar/pyrollbar/tree/master/rollbar/examples/django).

### Pyramid

In your ``ini`` file (e.g. ``production.ini``), add ``rollbar.contrib.pyramid`` to the end of your ``pyramid.includes``:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
requests>=0.12.1
six==1.9.0
Loading

0 comments on commit 41a5519

Please sign in to comment.