diff --git a/ruma-serde/.builds/beta.yml b/ruma-serde/.builds/beta.yml deleted file mode 100644 index e81bd85b..00000000 --- a/ruma-serde/.builds/beta.yml +++ /dev/null @@ -1,27 +0,0 @@ -image: archlinux -packages: - - rustup -sources: - - https://github.com/ruma/ruma-serde -tasks: - - rustup: | - # We specify --profile minimal because we'd otherwise download docs - rustup toolchain install beta --profile minimal -c rustfmt -c clippy - rustup default beta - - test: | - cd ruma-serde - - # We don't want the build to stop on individual failure of independent - # tools, so capture tool exit codes and set the task exit code manually - set +e - - cargo fmt -- --check - fmt_exit=$? - - cargo clippy --all-targets --all-features -- -D warnings - clippy_exit=$? - - cargo test --all-features --verbose - test_exit=$? - - exit $(( $fmt_exit || $clippy_exit || $test_exit )) diff --git a/ruma-serde/.builds/msrv.yml b/ruma-serde/.builds/msrv.yml deleted file mode 100644 index a6ea11f0..00000000 --- a/ruma-serde/.builds/msrv.yml +++ /dev/null @@ -1,14 +0,0 @@ -image: archlinux -packages: - - rustup -sources: - - https://github.com/ruma/ruma-serde -tasks: - - rustup: | - # We specify --profile minimal because we'd otherwise download docs - rustup toolchain install 1.36.0 --profile minimal - rustup default 1.36.0 - - test: | - cd ruma-serde - - cargo build --verbose diff --git a/ruma-serde/.builds/nightly.yml b/ruma-serde/.builds/nightly.yml deleted file mode 100644 index cd9c0de1..00000000 --- a/ruma-serde/.builds/nightly.yml +++ /dev/null @@ -1,32 +0,0 @@ -image: archlinux -packages: - - rustup -sources: - - https://github.com/ruma/ruma-serde -tasks: - - rustup: | - rustup toolchain install nightly --profile minimal - rustup default nightly - - # Try installing rustfmt & clippy for nightly, but don't fail the build - # if they are not available - rustup component add rustfmt || true - rustup component add clippy || true - - test: | - cd ruma-serde - - # We don't want the build to stop on individual failure of independent - # tools, so capture tool exit codes and set the task exit code manually - set +e - - if ( rustup component list | grep -q rustfmt ); then - cargo fmt -- --check - fi - fmt_exit=$? - - if ( rustup component list | grep -q clippy ); then - cargo clippy --all-targets --all-features -- -D warnings - fi - clippy_exit=$? - - exit $(( $fmt_exit || $clippy_exit )) diff --git a/ruma-serde/.builds/stable.yml b/ruma-serde/.builds/stable.yml deleted file mode 100644 index 0424b9f5..00000000 --- a/ruma-serde/.builds/stable.yml +++ /dev/null @@ -1,29 +0,0 @@ -image: archlinux -packages: - - rustup -sources: - - https://github.com/ruma/ruma-serde -tasks: - - rustup: | - # We specify --profile minimal because we'd otherwise download docs - rustup toolchain install stable --profile minimal -c rustfmt -c clippy - rustup default stable - - test: | - cd ruma-serde - - # We don't want the build to stop on individual failure of independent - # tools, so capture tool exit codes and set the task exit code manually - set +e - - cargo fmt -- --check - fmt_exit=$? - - cargo clippy --all-targets --all-features -- -D warnings - clippy_exit=$? - - cargo test --verbose - test_exit=$? - - exit $(( $fmt_exit || $clippy_exit || $test_exit )) - # TODO: Add audit task once cargo-audit binary releases are available. - # See https://github.com/RustSec/cargo-audit/issues/66