scripts: fix travis.check for 1.8.7