set up dirname output for travis