still not quite sure why travis sometimes fails on removing directories - don't bother testing empty dirs on travis because I know it works locally