Fixed travis tests

pull/492/head
Piero Toffanin 2018-07-25 17:54:41 -04:00
rodzic 6971ad2296
commit 040d8306db
3 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -24,7 +24,7 @@ def register_plugins():
# Check for webpack.config.js (if we need to build it)
if plugin.path_exists("public/webpack.config.js") and not plugin.path_exists("public/build"):
logger.info("Running webpack for {}".format(plugin.get_name()))
subprocess.call(['webpack'], cwd=plugin.get_path("public"))
subprocess.call(['webpack-cli'], cwd=plugin.get_path("public"))
plugin.register()
logger.info("Registered {}".format(plugin))

Wyświetl plik

@ -16,4 +16,7 @@ global.localStorage = {
}
// Missing XMLHttpRequest methods
XMLHttpRequest.prototype.abort = () => {};
XMLHttpRequest.prototype.abort = () => {};
// Missing canvas methods
HTMLCanvasElement.prototype.getContext = () => null;

Wyświetl plik

@ -30,7 +30,6 @@
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.4.0",
"babel-loader": "^8.0.0-beta.4",
"canvas-prebuilt": "^1.6.5-prerelease.1",
"clipboard": "^1.7.1",
"css-loader": "^0.25.0",
"d3": "^3.5.5",