From 2de56e9a39af99f3c2329d2598b6a9068f45abaa Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Tue, 8 Feb 2022 19:53:13 +1000 Subject: [PATCH] Replace Travis with Cirrus Travis has just stopped running... and wants me to select a plan to re-enable it. --- .cirrus.yml | 16 ++++++++++++++++ .travis.yml | 25 ------------------------- 2 files changed, 16 insertions(+), 25 deletions(-) create mode 100644 .cirrus.yml delete mode 100644 .travis.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..46d9ba0 --- /dev/null +++ b/.cirrus.yml @@ -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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4d5697f..0000000 --- a/.travis.yml +++ /dev/null @@ -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