Replace Travis with Cirrus

Travis has just stopped running... and wants me to select a plan to
re-enable it.
This commit is contained in:
Wesley Moore 2022-02-08 19:53:13 +10:00
parent 77971169f0
commit 2de56e9a39
No known key found for this signature in database
GPG key ID: BF67766C0BC2D0EE
2 changed files with 16 additions and 25 deletions

16
.cirrus.yml Normal file
View file

@ -0,0 +1,16 @@
test_task:
container:
image: rust:latest
registry_cache:
folder: $CARGO_HOME/registry
fingerprint_script:
- rustc --version
- cat Cargo.toml
install_script:
- 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

View file

@ -1,25 +0,0 @@
language: rust
cache: cargo
script:
- |
cargo test &&
cargo build --features=examples --examples
rust:
- stable
- beta
matrix:
allow_failures:
- rust: beta
addons:
apt:
packages:
- binutils-dev
- libcurl4-openssl-dev
- zlib1g-dev
- libdw-dev
- libiberty-dev
after_success:
- ci/upload-coverage