add pathlib to travis build