There were several reasons why the build and tests were failing in CI:
it's necessary to build bsh before running cargo fmt as cargo fmt fails because it doesn't run the build script
convert generate_unique_env_key to a macro and use the line!() macro to make the keys unique, instead of a random number generator with retry logic just in-case we get two identical keys
Other changes:
Run cargo clippy on all targets and fix the related warnings
Move travis script to ci/script.sh file to ease local testing
Add travis badge to README
Remove rand crate depdency
Remove recursion limit now that we don't have error-chain
There were several reasons why the build and tests were failing in CI:
bsh
before runningcargo fmt
ascargo fmt
fails because it doesn't run the build scriptgenerate_unique_env_key
to a macro and use theline!()
macro to make the keys unique, instead of a random number generator with retry logic just in-case we get two identical keysOther changes:
cargo clippy
on all targets and fix the related warningsrand
crate depdencyerror-chain
Closes #14