configure travis
return correct exit code on running tests