Skip to content

Commit 9d27fe6

Browse files
committed
travis: Also build on Python 3.6
1 parent fcb3f54 commit 9d27fe6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,16 @@ matrix:
8484
addons:
8585
postgresql: '9.6'
8686

87+
- os: linux
88+
dist: trusty
89+
sudo: required
90+
language: python
91+
python: "3.6-dev"
92+
env: BUILD=full PGVERSION=9.6
93+
services: [postgresql, docker]
94+
addons:
95+
postgresql: '9.6'
96+
8797
cache:
8898
directories:
8999
- $HOME/.cache/pip

tests/test_record.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ def test_record_cmp(self):
263263
self.assertGreater(r5, r7)
264264
self.assertGreater(r5, r4)
265265

266-
with self.assertRaisesRegex(TypeError, 'unorderable'):
266+
with self.assertRaisesRegex(
267+
TypeError, "unorderable|'<' not supported"):
267268
r1 < r8
268269

269270
self.assertEqual(

0 commit comments

Comments
 (0)