#!/bin/sh -e
rootdir=$(git rev-parse --show-toplevel)
(
cd $rootdir
find ./ -name '*.pyc' -delete
tox
python setup.py check -r || exit 1
)
