#!/bin/sh

echo "Pre-push hooks started"

if ! npm test
then
    echo "Test is failed"
    exit 1
fi

./functional-tests/pep8-hook.sh

echo 'Everything is fine'
exit 0
