Skip to content

Commit

Permalink
Fix tests on older Node versions
Browse files Browse the repository at this point in the history
tap@10 has a transitive dependency that breaks.
npm@3 fails for some reason on Node 5.x but not Node 4.x.
  • Loading branch information
zertosh committed Mar 6, 2021
1 parent 5cd9c76 commit c2b4e92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ node_js:
- "12"
- "14"
- "15"
before_install:
- case "$TRAVIS_NODE_VERSION" in
5|5.6.0)
npm install -g npm@4;
;;
esac
script:
- case "$TRAVIS_NODE_VERSION" in
4|5.6.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rimraf": "^2.5.4",
"rxjs": "6.6.3",
"semver": "^5.3.0",
"tap": "^10.1.1",
"tap": "^9.0.0",
"temp": "^0.8.3",
"yarn": "1.22.10"
}
Expand Down

0 comments on commit c2b4e92

Please sign in to comment.