#!/bin/sh

set -x
set -e

echo "Checking pep8"
pep8 --ignore E501,E722 --exclude=".eggs/*" .

echo "Starting unit tests"
echo

python setup.py test "$@"

# to run python3 unit tests, you can use
# python3 -m unittest discover -v lava_dispatcher.pipeline
# but the python3 dependencies are not automatically installed.
