2022-02-08 09:53:13 +00:00
|
|
|
test_task:
|
|
|
|
container:
|
|
|
|
image: rust:latest
|
|
|
|
registry_cache:
|
|
|
|
folder: $CARGO_HOME/registry
|
|
|
|
fingerprint_script:
|
|
|
|
- rustc --version
|
|
|
|
- cat Cargo.toml
|
|
|
|
install_script:
|
2022-03-02 22:13:10 +00:00
|
|
|
# these dependencies are for building the kcov tool
|
2022-02-08 09:53:13 +00:00
|
|
|
- apt-get update && apt-get install -y --no-install-recommends binutils-dev cmake libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev python
|
|
|
|
test_script:
|
|
|
|
- cargo test
|
|
|
|
- cargo build --features=examples --examples
|
|
|
|
coverage_script:
|
|
|
|
- ci/upload-coverage
|
|
|
|
before_cache_script: rm -rf $CARGO_HOME/registry/index
|