From 15b62a80340decad024212bc8cec98a13174cda9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Sat, 14 Dec 2019 09:53:27 +0100 Subject: [PATCH] fixed poetry install --- .builds/debian.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.builds/debian.yml b/.builds/debian.yml index 3e1c133..7498027 100644 --- a/.builds/debian.yml +++ b/.builds/debian.yml @@ -7,22 +7,22 @@ packages: - python3-pip tasks: - dependencies: | - pip3 install poetry - PATH=$PATH:/home/build/.local/bin + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + export PATH="$PATH:~/.poetry/bin/" cd Stegano poetry install - link: | - PATH=$PATH:/home/build/.local/bin + export PATH="$PATH:~/.poetry/bin/" cd Stegano # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - test: | - PATH=$PATH:/home/build/.local/bin + export PATH="$PATH:~/.poetry/bin/" cd Stegano poetry run nosetests --with-coverage --cover-package=stegano - typecheck: | - PATH=$PATH:/home/build/.local/bin + export PATH="$PATH:~/.poetry/bin/" cd Stegano poetry run python tools/run_mypy.py