diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-25 07:46:35 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-25 07:46:35 +0100 |
| commit | 4bb4139bf5ee714edfdf221ae91cac7e83ce9567 (patch) | |
| tree | 2ec0d66a9e12d382779baaee1bb71e43160252cf | |
| parent | 4cc7e0c9ed542a559ee50215cabdb55d13653c78 (diff) | |
| parent | 0e37e1f4003f972a7dab5d7d011dcbd85f2bdf1d (diff) | |
| download | sqlparse-4bb4139bf5ee714edfdf221ae91cac7e83ce9567.tar.gz | |
Merge pull request #204 from timgraham/py35
Add Python 3.5 to tox/travis config.
| -rw-r--r-- | .travis.yml | 5 | ||||
| -rw-r--r-- | setup.py | 2 | ||||
| -rw-r--r-- | tox.ini | 11 |
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: @@ -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' ], @@ -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 |
