An error occurred while loading the file. Please try again.
-
Guillaume Perréal authored459488b7
This project is licensed under the GNU General Public License v3.0 or later.
Learn more
#! /bin/sh
echo " Setup ENV"
python3 -m venv venv
. venv/bin/activate
pip3 install -U pip
pip3 install -r ./full-requirements.txt
pip3 install -U -r ./full-requirements.txt
echo " UNITTEST"
cd src/
python3 -Walways -m unittest discover -v -t .
cd ..
echo " PEP8"
pycodestyle --exclude="*_to_*.py" ./src
if [ $? -eq 0 ]
then
echo "OK"
else
echo "WARNING"
fi