trap err: on each travis step