MAINT: fix 2.6 build for travis.ci.