summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrina Truong <i.chernyavska@gmail.com>2019-03-18 04:11:21 +0000
committerIrina Truong <i.chernyavska@gmail.com>2019-05-03 21:36:21 -0400
commit3366be52fb0491a00c1bd0b4f72b82944fd0d5ec (patch)
treec1665fe72ff29ce95dc9826d49cecab0d9a9e828
parent6d1b653e24278111d82b761c2ea1e66a0621a27d (diff)
Build pgcli with 3.7.
-rw-r--r--.travis.yml8
-rw-r--r--setup.py1
-rw-r--r--tox.ini11
3 files changed, 13 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 04e570f2..2bb738e5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,15 @@
+dist: xenial
+
+sudo: required
+
language: python
+
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
+ - "3.7"
before_install:
- which python
@@ -43,4 +49,4 @@ services:
- postgresql
addons:
- postgresql: "9.3"
+ postgresql: "9.6"
diff --git a/setup.py b/setup.py
index 13c76c02..6c25b7a4 100644
--- a/setup.py
+++ b/setup.py
@@ -62,6 +62,7 @@ setup(
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
'Programming Language :: SQL',
'Topic :: Database',
'Topic :: Database :: Front-Ends',
diff --git a/tox.ini b/tox.ini
index 712db9cb..c8c75517 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,10 @@
[tox]
-envlist = py27, py34, py35, py36
+envlist = py27, py34, py35, py36, py37
[testenv]
-deps = pytest
- mock
- pgspecial
- humanize
- psycopg2
+deps = pytest>=2.7.0,<=3.0.7
+ mock>=1.0.1
+ behave>=1.2.4
+ pexpect==3.3
commands = py.test
behave tests/features
passenv = PGHOST