Update testing baseline images.
There are minor shifts due to browser changes.
MODIFY
.travis.yml
.travis.yml
@@ -5,7 +5,7 @@ sudo: required
dist: xenial
node_js:
- - 8
+ - 14
addons:
# version 55.0 - 57.x have an issue with screenshots.

MODIFY
tests/external-data/base-images.tgz.sha512
tests/external-data/base-images.tgz.sha512
-dfb50e91db845698dd8e5f7507d1014b531d6ddabc7291405def3270bfe1437b79a782350eac906843d6f09b719f8fec467ad72dfa208fdc58c50c8ea2516eab
+81bfb7b494d0c93b3992bed1ef9f3c505c8f5959c6b07951b0ce421f197921bb1ed5d3f650344361078fa2184acefad3a0a21057f13b122bb573e2fc34f63c7e
\ No newline at end of file

MODIFY
tests/runners/baseline_images.py
tests/runners/baseline_images.py
@@ -85,7 +85,7 @@ def upload_baselines(args):
'%Y-%m-%d %H:%M:%S', time.localtime(os.path.getmtime(tarPath)))
uploadedFile = gc.uploadFile(
parentId=args['folder'], parentType='folder', name=name,
- stream=open(tarPath), size=tarSize, mimeType='application/tar+gzip')
+ stream=open(tarPath, 'rb'), size=tarSize, mimeType='application/tar+gzip')
if args['verbose'] >= 1:
print('Upload to file %s' % uploadedFile['_id'])
testDataPath = os.path.abspath('tests/external-data')

MODIFY
website/package.json
website/package.json
"version": "0.0.0",
"private": true,
"hexo": {
- "version": ""
+ "version": "5.4.0"
},
"dependencies": {
- "hexo": "^3.8.0",
- "hexo-fs": "^1.0.0",
- "hexo-renderer-ejs": "^0.3.0",
- "hexo-renderer-marked": "^0.3.2",
- "hexo-renderer-scss": "^1.0.3",
- "hexo-renderer-stylus": "^0.3.1",
- "hexo-server": "^0.3.1"
+ "hexo": "^5.4.0",
+ "hexo-fs": "^3.1.0",
+ "hexo-renderer-ejs": "^1.0.0",
+ "hexo-renderer-marked": "^4.0.0",
+ "hexo-renderer-scss": "^1.2.0",
+ "hexo-renderer-stylus": "^2.0.1",
+ "hexo-server": "^2.0.0"
},
"devDependencies": {
- "ejs-lint": "^0.3.0",
- "hexo-cli": "^1.0.3"
+ "ejs-lint": "^1.1.0",
+ "hexo-cli": "^4.2.0"
}
}
\ No newline at end of file

Update testing baseline images.

There are minor shifts due to browser changes.