Skip to content

Commit

Permalink
Updated supported Python and SQLAlchemy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagamedov committed May 7, 2020
1 parent dffc5be commit 678f7bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ language: python
python:
- "2.7"
- "3.4"
- "pypy"
- "3.8"

env:
- SQLA_VERSION=0.7
- SQLA_VERSION=0.8
- SQLA_VERSION=0.9
- SQLA_VERSION=1.0
- SQLA_VERSION=1.1
- SQLA_VERSION=1.2
- SQLA_VERSION=1.3

install:
- pip install tox-travis
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ To install `SQLConstruct`, simply:
$ pip install sqlconstruct
Tested `Python` versions: 2.7, 3.4, PyPy.
Tested `Python` versions: 2.7, 3.4, 3.8.

Tested `SQLAlchemy` versions: 0.7, 0.8, 0.9, 1.0, 1.1.
Tested `SQLAlchemy` versions: 1.0, 1.1, 1.2, 1.3.

Examples above are using `SQLAlchemy` >= 0.9, if you are using older versions,
you will have to do next changes in your project configuration:
Expand Down
16 changes: 7 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
[tox]
envlist = py{27,34,py}-sqla{07,08,09,10,11}
envlist = py{27,34,38}-sqla{10,11,12,13}

[testenv]
commands =
python -m unittest tests
deps =
py{27,py}: mock
sqla07: sqlalchemy>=0.7,<0.8
sqla08: sqlalchemy>=0.8,<0.9
sqla09: sqlalchemy>=0.9,<1.0
py27: mock
sqla10: sqlalchemy>=1.0,<1.1
sqla11: sqlalchemy>=1.1,<1.2
sqla12: sqlalchemy>=1.2,<1.3
sqla13: sqlalchemy>=1.3,<1.4

[travis]
python =
2.7: py27
3.4: py34
pypy: pypy
3.8: py38

[travis:env]
SQLA_VERSION =
0.7: sqla07
0.8: sqla08
0.9: sqla09
1.0: sqla10
1.1: sqla11
1.2: sqla12
1.3: sqla13

0 comments on commit 678f7bf

Please sign in to comment.