Implementing Travis-compatible doctesting.