fix travis-ci build for 2.6