Run most CI steps in docker

This commit is contained in:
Michael Vines
2018-05-22 16:57:14 -07:00
parent 9c3f65bca9
commit ae29641a18
5 changed files with 43 additions and 7 deletions

View File

@ -2,8 +2,16 @@
cd $(dirname $0)/..
source $HOME/.cargo/env
rustup update
if [[ -r ~/.cargo/env ]]; then
# Pick up local install of kcov/cargo-kcov
source ~/.cargo/env
fi
rustc --version
cargo --version
kcov --version
cargo-kcov --version
export RUST_BACKTRACE=1
cargo build
cargo kcov