Fixed pre-commit script
Updated Travis scripts