From 4ab2c1c646ba0110de8d1182e476aa1f7ade3b7a Mon Sep 17 00:00:00 2001 From: Jay Hewitt Date: Sat, 21 May 2016 00:43:18 +0100 Subject: [PATCH 1/3] Absolute __init__.py import --- lib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/__init__.py b/lib/__init__.py index 4cba4b5..8bea6ec 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -1,2 +1,2 @@ __author__ = 'gokhan' -from PostCodeClient import PostCodeClient \ No newline at end of file +from lib.PostCodeClient import PostCodeClient From efa5b4fe3c709f4a4606f82f7b7d9e81174a9811 Mon Sep 17 00:00:00 2001 From: Jay Hewitt Date: Sat, 21 May 2016 01:17:33 +0100 Subject: [PATCH 2/3] Override script key to trigger tests in Travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 7670e41..3c79e64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,3 +9,4 @@ install: - "pip install ." - "pip install requests" +script: nosetests From 9e4e498f7bd2b57edc2bc7e8770aadd78ee5cfcc Mon Sep 17 00:00:00 2001 From: Jay Hewitt Date: Sat, 21 May 2016 01:33:20 +0100 Subject: [PATCH 3/3] Run nosetests tests against Python3 --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3c79e64..b33be2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ language: python python: - "2.7" + - "3.2" + - "3.3" + - "3.4" + - "3.5" before_script: