Skip to content

Commit 0f4afc5

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

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ os: linux
33
# Follow https://github.com/nodejs/LTS to decide when to remove a version
44
node_js:
55
- stable
6+
- 14
67
- 13
78
- 12
89
- 10
@@ -41,4 +42,4 @@ script:
4142
- gulp minify
4243
- gulp test
4344
- gulp zip
44-
- '[ "${TRAVIS_BRANCH}" = "develop" ] && [ "${TRAVIS_NODE_VERSION}" = "11" ] && travis/deploy-prebuilt.sh || true'
45+
- '[ "${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)