barectf: update build recipe for poetry and tox
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 30 Jul 2020 14:19:43 +0000 (10:19 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 30 Jul 2020 14:19:43 +0000 (10:19 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
scripts/barectf/build.sh

index 5eafb08ae3c9ce019a1317e12fa6f8d39e8c73e1..9f07c6d33251b29ec47412bd8b54ca4a3342cc87 100755 (executable)
@@ -37,15 +37,14 @@ set +u
 set -u
 
 # install setuptools first
-pip install setuptools
+pip install tox poetry
 
 cd "$SRCDIR"
 
 # install barectf in virtual environment
-./setup.py install
+poetry config virtualenvs.create false
 
 # test
-cd tests
-./test.bash
+tox -v
 
 # EOF
This page took 0.024366 seconds and 4 git commands to generate.