From 4a6bf6fa9285d73a1bfe8a0740f6761a52946cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=88rg=20Lehni?= Date: Mon, 22 Jun 2020 15:07:59 +0200 Subject: [PATCH] Hopefully make preinstall condition work on Travis CI's /bin/sh --- .travis.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b21ebf1e6..83174b1bab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,4 +41,4 @@ script: - gulp minify - gulp test - gulp zip -- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "11" ] && travis/deploy-prebuilt.sh || true' +- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "14" ] && travis/deploy-prebuilt.sh || true' diff --git a/package.json b/package.json index dffa30d655..fdcf796c5d 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "load": "gulp load", "jshint": "gulp jshint", "test": "gulp test", - "preinstall": "[[ $npm_config_heading == 'npm' ]] && npx npm-force-resolutions || true" + "preinstall": "[ $npm_config_heading = 'npm' ] && npx npm-force-resolutions || true" }, "files": [ "AUTHORS.md",