diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e603f89 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: + - '2.7' + - '3.4' +install: pip install -r dev-requirements.txt +script: py.test +notifications: + email: + - jturk@sunlightfoundation.com +env: + global: + secure: tZG/BC42iOQb0hf7dVLPJkdHlmkwXeecF9MEiLaB1U/Gelna45JZQplO3h0vfzbFRqnOoGPAUWhEtHeenKfcHivdOc07YfdPbSjoUlyXdsIIMvHBd559D7wnKo75tzHMrg8Pgn73CabzoVPa0orjknYe8eyMZxXMXGdKwC7HQSQ= diff --git a/setup.py b/setup.py index df3633c..7526fdf 100755 --- a/setup.py +++ b/setup.py @@ -23,5 +23,12 @@ license = "BSD", url = "https://github.com/sunlightlabs/python-sunlight", - platforms = ['any'] + platforms = ['any'], + + classifiers = ['Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4'], ) diff --git a/sunlight/__init__.py b/sunlight/__init__.py index 1227066..be9abdd 100644 --- a/sunlight/__init__.py +++ b/sunlight/__init__.py @@ -11,7 +11,7 @@ """ __appname__ = "sunlight" -__version__ = "1.2.8" +__version__ = "1.2.9" import sunlight.services.openstates import sunlight.services.capitolwords diff --git a/tests/services/test_openstates.py b/tests/services/test_openstates.py index 43530cb..3eb9ec1 100644 --- a/tests/services/test_openstates.py +++ b/tests/services/test_openstates.py @@ -22,7 +22,7 @@ def setUp(self): self.a_committee_id = 'NCC000169' self.a_state_with_events = 'tx' self.an_event_id = 'TXE00026474' - self.a_boundary_id = 'sldl/nc-1' + self.a_boundary_id = 'ocd-division/country:us/state:nc/sldl:1' def test_bad__get_url(self): with self.assertRaises(BadRequestException):