rgardner / bsh-rs

Bash-like shell (builtins, job control, piping) written in Rust
Apache License 2.0
4 stars 0 forks source link

Fix CI and add CI badge to README #17

Closed rgardner closed 6 years ago

rgardner commented 6 years ago

There were several reasons why the build and tests were failing in CI:

  1. it's necessary to build bsh before running cargo fmt as cargo fmt fails because it doesn't run the build script
  2. 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:

  1. Run cargo clippy on all targets and fix the related warnings
  2. Move travis script to ci/script.sh file to ease local testing
  3. Add travis badge to README
  4. Remove rand crate depdency
  5. Remove recursion limit now that we don't have error-chain

Closes #14