Closed FranklinYu closed 2 years ago
This looks great to me (so +1 for merging as-is), but it would be nice to have coverage of multiple Bash versions. Here's the approach I took for bash-cache (with a custom Docker image). There's also an official bats/bats image which appears to support different versions, though it seems odd to me that they build the image for every run.
Yes, that sounds like a viable follow-up. Meanwhile I plan to add macOS Big Sur as another platform, since it’s using a very old Bash.
It's probably sufficient to just test against Bash 3.2, which is what macOS is stuck on.
Merged, fixed permissions for install (https://github.com/rcaloras/bash-preexec/commit/b1630c76020416ccaaf56ecfd3f1f066dbd2461e), updated Readme (https://github.com/rcaloras/bash-preexec/commit/3e563be4f143366dc21d795d311da506be6fb75c)
After this is verified to work, we can probably remove the Travis CI configuration.