Skip to content
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

Python 3.x compatibility #2

Closed
michaelsilver opened this issue Jul 25, 2016 · 0 comments
Closed

Python 3.x compatibility #2

michaelsilver opened this issue Jul 25, 2016 · 0 comments

Comments

@michaelsilver
Copy link
Member

Looks like the futurize script, available after running pip install future, might be a good place to start. Here's a good reference: http://python-future.org/compatible_idioms.html

You can set up travis to test across all python versions like this:

diff --git a/.travis.yml b/.travis.yml
index 17306a6..116b0a4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,13 @@
 language: python
 python:
+  - "2.6"
   - "2.7"
+  - "3.2"
+  - "3.3"
+  - "3.4"
+  - "3.5"
+  - "3.5-dev" # 3.5 development branch
+  - "nightly" # currently points to 3.6-dev
 install:
   - pip install codecov pep8
   - python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant