fix travis-ci build

Set depth to 10 to prevent fatal error reported in #592.