Skip to content

Commit 4a6bf6f

Browse files
committed
Hopefully make preinstall condition work on Travis CI's /bin/sh
1 parent 99dbf31 commit 4a6bf6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ script:
4141
- gulp minify
4242
- gulp test
4343
- gulp zip
44-
- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "11" ] && travis/deploy-prebuilt.sh || true'
44+
- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "14" ] && travis/deploy-prebuilt.sh || true'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"load": "gulp load",
2424
"jshint": "gulp jshint",
2525
"test": "gulp test",
26-
"preinstall": "[[ $npm_config_heading == 'npm' ]] && npx npm-force-resolutions || true"
26+
"preinstall": "[ $npm_config_heading = 'npm' ] && npx npm-force-resolutions || true"
2727
},
2828
"files": [
2929
"AUTHORS.md",

0 commit comments

Comments
 (0)