1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00

Make tests run on Node.js 5

This commit is contained in:
squidfunk 2017-02-09 19:01:23 +01:00
parent 0beec63367
commit d75aec1b7e
3 changed files with 11 additions and 14 deletions

View File

@ -27,10 +27,10 @@ node_js:
- 6
- 7
# Build visual tests on Node.js 7
# Build visual tests separately
matrix:
include:
- node_js: 7
- node_js: 5
addons:
apt:
sources:

View File

@ -85,9 +85,11 @@ export default (gulp, config, args) => {
caps.public = "private"
caps.name = id
/* Associate build with job when in CI */
if (process.env.CI && process.env.TRAVIS)
/* Increase retries to omit flaky tests and make results public */
if (process.env.CI && process.env.TRAVIS) {
gemini.browsers[key].retry = 3
caps.public = "public"
}
}
/* Start Gemini and return runner upon finish */

View File

@ -9,8 +9,7 @@
"platform": "Windows 10",
"screenResolution": "1280x1024",
"recordVideo": "false"
},
"retry": 3
}
},
"firefox": {
"desiredCapabilities": {
@ -19,8 +18,7 @@
"platform": "Windows 10",
"screenResolution": "1280x1024",
"recordVideo": "false"
},
"retry": 3
}
},
"edge": {
"desiredCapabilities": {
@ -28,8 +26,7 @@
"platform": "Windows 10",
"screenResolution": "1280x1024",
"recordVideo": "false"
},
"retry": 3
}
},
"ie11": {
"desiredCapabilities": {
@ -38,8 +35,7 @@
"platform": "Windows 10",
"screenResolution": "1280x1024",
"recordVideo": "false"
},
"retry": 3
}
},
"ie10": {
"desiredCapabilities": {
@ -48,8 +44,7 @@
"platform": "Windows 8",
"screenResolution": "1280x1024",
"recordVideo": "false"
},
"retry": 3
}
}
},
"system": {