forked from aio-libs/aiocassandra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (35 loc) · 938 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tox]
envlist =
py3{5,6}
pypy3
skip_missing_interpreters = True
[testenv]
deps =
flake8
isort
commands =
flake8 --show-source aiocassandra.py setup.py
isort --check-only aiocassandra.py setup.py
flake8 --show-source tests
isort --check-only -rc tests --diff
{envpython} setup.py pytest
[testenv:wait-for-cassandra]
basepython = python2.7
skipsdist = true
skip_install = true
deps =
cqlsh
whitelist_externals =
bash
echo
setenv =
CQL_VERSION=3.4.4
commands =
echo Waiting till cassandra is up...
bash -c " \
while ! echo exit | cqlsh --cqlversion=$CQL_VERSION; \
do \
sleep 1; \
echo -n .; \
done \
"