travis cds to subdirectory due to path.dirname issue