e6e4018cff1944a2c9793fff6c6de90ee6fc7e28
[osm/vim-emu.git] / pipeline_local.sh
1 #!/bin/bash
2 # helper script to be executed before committing
3 set -e
4 # trigger pep8 style check
5 echo "Doing flake8 style check ..."
6 flake8 --exclude=.eggs,devops --ignore=E501 .
7 echo "done."
8 # trigger the tests
9 echo "Running unit tests ..."
10 sudo pytest -v
11 echo "done."