summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2015-10-25 07:46:35 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2015-10-25 07:46:35 +0100
commit4bb4139bf5ee714edfdf221ae91cac7e83ce9567 (patch)
tree2ec0d66a9e12d382779baaee1bb71e43160252cf
parent4cc7e0c9ed542a559ee50215cabdb55d13653c78 (diff)
parent0e37e1f4003f972a7dab5d7d011dcbd85f2bdf1d (diff)
downloadsqlparse-4bb4139bf5ee714edfdf221ae91cac7e83ce9567.tar.gz
Merge pull request #204 from timgraham/py35
Add Python 3.5 to tox/travis config.
-rw-r--r--.travis.yml5
-rw-r--r--setup.py2
-rw-r--r--tox.ini11
3 files changed, 17 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 313afb8..01adfd9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,11 @@ env:
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
+matrix:
+ include:
+ - python: 3.5
+ env:
+ - TOX_ENV=py35
before_install:
- sudo apt-get install pypy
install:
diff --git a/setup.py b/setup.py
index 2c6dce8..f4fa4e3 100644
--- a/setup.py
+++ b/setup.py
@@ -115,6 +115,8 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
'Topic :: Database',
'Topic :: Software Development'
],
diff --git a/tox.ini b/tox.ini
index e797ca9..7dc5d71 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py26,py27,py32,py33,py34,pypy
+envlist=py26,py27,py32,py33,py34,py35,pypy
[testenv]
deps=
@@ -35,3 +35,12 @@ commands=
cp -r {toxinidir}/tests/ tests/
2to3 -w --no-diffs -n tests/
py.test --cov={envdir}/lib/python3.4/site-packages/sqlparse/ tests
+
+[testenv:py35]
+changedir={envdir}
+commands=
+ sqlformat --version # Sanity check.
+ rm -rf tests/
+ cp -r {toxinidir}/tests/ tests/
+ 2to3 -w --no-diffs -n tests/
+ py.test --cov={envdir}/lib/python3.5/site-packages/sqlparse/ tests