Add in-tree buildkite pipeline

This commit is contained in:
Michael Vines
2018-05-21 23:02:54 -07:00
parent 2786357082
commit 34514d65bc
7 changed files with 97 additions and 0 deletions

17
ci/coverage.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash -e
cd $(dirname $0)/..
source $HOME/.cargo/env
rustup update
export RUST_BACKTRACE=1
cargo build
cargo kcov
if [[ -z "$CODECOV_TOKEN" ]]; then
echo CODECOV_TOKEN undefined
exit 1
fi
bash <(curl -s https://codecov.io/bash)
exit 0