2 files changed, 19 insertions(+), 1 deletions(-)

M .build.yml
A => tox.ini
M .build.yml +1 -1
@@ 37,7 37,7 @@ tasks:
 
     poetry install --quiet
 
-    tox
+    poetry run tox
 
     if [ $? -eq 0 ]; then curl -s https://codecov.io/bash | bash -s -- -Z -t @/home/build/CODECOV_TOKEN;
     fi'

          
A => tox.ini +18 -0
@@ 0,0 1,18 @@ 
+# tox (https://tox.readthedocs.io/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions. To use it, "pip install tox"
+# and then run "tox" from this directory.
+
+[tox]
+envlist = sqlalchemy14,sqlalchemy13
+isolated_build = True
+
+[testenv]
+deps =
+    pytest
+    coverage
+    sqlalchemy13: sqlalchemy >=1.3, <1.4
+    sqlalchemy14: sqlalchemy >=1.4, <2
+
+commands =
+    coverage run --source=sqlalchemy_querybuilder -m pytest