mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
fixed poetry install
This commit is contained in:
parent
6e9dff3c79
commit
15b62a8034
1 changed files with 5 additions and 5 deletions
|
@ -7,22 +7,22 @@ packages:
|
||||||
- python3-pip
|
- python3-pip
|
||||||
tasks:
|
tasks:
|
||||||
- dependencies: |
|
- dependencies: |
|
||||||
pip3 install poetry
|
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
|
||||||
PATH=$PATH:/home/build/.local/bin
|
export PATH="$PATH:~/.poetry/bin/"
|
||||||
cd Stegano
|
cd Stegano
|
||||||
poetry install
|
poetry install
|
||||||
- link: |
|
- link: |
|
||||||
PATH=$PATH:/home/build/.local/bin
|
export PATH="$PATH:~/.poetry/bin/"
|
||||||
cd Stegano
|
cd Stegano
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
# 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
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||||
- test: |
|
- test: |
|
||||||
PATH=$PATH:/home/build/.local/bin
|
export PATH="$PATH:~/.poetry/bin/"
|
||||||
cd Stegano
|
cd Stegano
|
||||||
poetry run nosetests --with-coverage --cover-package=stegano
|
poetry run nosetests --with-coverage --cover-package=stegano
|
||||||
- typecheck: |
|
- typecheck: |
|
||||||
PATH=$PATH:/home/build/.local/bin
|
export PATH="$PATH:~/.poetry/bin/"
|
||||||
cd Stegano
|
cd Stegano
|
||||||
poetry run python tools/run_mypy.py
|
poetry run python tools/run_mypy.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue