Add requirements to travis
Fix exit code in runtests script