From 2278ddacc648276034233b85955b385d44ce50b4 Mon Sep 17 00:00:00 2001 From: David Himmelstrup Date: Mon, 26 Jul 2021 12:49:29 +0800 Subject: [PATCH] Replace travis CI badge with GitHub Actions badge. (#493) --- .travis.yml | 87 ----------------------------------------------------- Cargo.toml | 4 +-- README.md | 4 +-- 3 files changed, 3 insertions(+), 92 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d67d8fa2..00000000 --- a/.travis.yml +++ /dev/null @@ -1,87 +0,0 @@ -sudo: false - -language: rust - -cache: cargo - -rust: - - stable - -os: - - linux - - osx - -matrix: - include: - - os: linux - env: GNUPLOT=yes - addons: - apt: - packages: - - gnuplot - - os: linux - env: CLIPPY=yes - rust: stable - - os: linux - env: RUSTFMT=yes - rust: stable - - os: linux - env: DOCS=yes - - os: linux - env: GNUPLOT=yes - rust: 1.39.0 - addons: - apt: - packages: - - gnuplot - - os: linux - env: GNUPLOT=no - rust: nightly - - os: linux - env: GNUPLOT=yes - rust: nightly - addons: - apt: - packages: - - gnuplot - - os: osx - env: GNUPLOT=yes - - os: osx - env: GNUPLOT=no - rust: nightly - - os: osx - env: GNUPLOT=yes - rust: nightly - - os: linux - env: MINIMAL_VERSIONS=yes - rust: nightly - -before_script: - - if [ "$DOCS" = "yes" ]; then - pip install 'travis-cargo<0.2' --user; - export PATH=$HOME/.local/bin:$PATH; - fi - -before_cache: -- find ./target/debug -maxdepth 1 -type f -delete -- rm -rf ./target/debug/deps/criterion* -- rm -rf ./target/debug/deps/bench* -- rm -rf ./target/debug/.fingerprint/criterion* -- rm -rf ./target/debug/.fingerprint/bench* -- rm -f ./target/.rustc_info.json -- rm -rf ./target/criterion -- rm -rf ~/.cargo/registry/index/ - -install: - - sh ci/install.sh - -script: - - sh ci/script.sh - -env: - global: - - secure: "f/HaMzQu7d6ochSjE5lUjJbXYWlhbzslyTuWq+Lub/r2TTL4hVlT9koC4RT7W73V3WDrwYIqEGmwvscVffnijZRebl/PV+6WlOlYJEdAgKxGROpFGDIJGRGAc/f3s6OcJ+Hr8rmRF70fYEl45hs6J53X8s+CVRuty+r/UdilRpM=" - -notifications: - email: - on_success: never diff --git a/Cargo.toml b/Cargo.toml index 3f333eba..4489966b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,12 +52,10 @@ rand = "0.8" futures = { version = "0.3", default_features = false, features = ["executor"] } [badges] -travis-ci = { repository = "bheisler/criterion.rs" } -appveyor = { repository = "bheisler/criterion.rs", id = "4255ads9ctpupcl2" } maintenance = { status = "passively-maintained" } [features] -stable = ["async_futures", "async_smol", "async_tokio", "async_std"] +stable = ["async_futures", "async_smol", "async_tokio", "async_std"] default = ["cargo_bench_support"] # Enable use of the nightly-only test::black_box function to discourage compiler optimizations. diff --git a/README.md b/README.md index ece257c7..0d12aa98 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@
- - Travis-CI + + GitHub branch checks state |