Fix CI scripts

This commit is contained in:
Jonas Platte 2020-04-24 21:43:13 +02:00
parent a9e3e676fe
commit e93c25c7ff
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
3 changed files with 6 additions and 6 deletions

View File

@ -2,14 +2,14 @@ image: archlinux
packages: packages:
- rustup - rustup
sources: sources:
- https://github.com/ruma/ruma-client-api - https://github.com/ruma/ruma-events
tasks: tasks:
- rustup: | - rustup: |
# We specify --profile minimal because we'd otherwise download docs # We specify --profile minimal because we'd otherwise download docs
rustup toolchain install beta --profile minimal -c rustfmt -c clippy rustup toolchain install beta --profile minimal -c rustfmt -c clippy
rustup default beta rustup default beta
- test: | - test: |
cd ruma-client-api cd ruma-events
# We don't want the build to stop on individual failure of independent # 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 # tools, so capture tool exit codes and set the task exit code manually

View File

@ -2,7 +2,7 @@ image: archlinux
packages: packages:
- rustup - rustup
sources: sources:
- https://github.com/ruma/ruma-client-api - https://github.com/ruma/ruma-events
tasks: tasks:
- rustup: | - rustup: |
rustup toolchain install nightly --profile minimal rustup toolchain install nightly --profile minimal
@ -13,7 +13,7 @@ tasks:
rustup component add rustfmt || true rustup component add rustfmt || true
rustup component add clippy || true rustup component add clippy || true
- test: | - test: |
cd ruma-client-api cd ruma-events
# We don't want the build to stop on individual failure of independent # 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 # tools, so capture tool exit codes and set the task exit code manually

View File

@ -2,14 +2,14 @@ image: archlinux
packages: packages:
- rustup - rustup
sources: sources:
- https://github.com/ruma/ruma-client-api - https://github.com/ruma/ruma-events
tasks: tasks:
- rustup: | - rustup: |
# We specify --profile minimal because we'd otherwise download docs # We specify --profile minimal because we'd otherwise download docs
rustup toolchain install stable --profile minimal -c rustfmt -c clippy rustup toolchain install stable --profile minimal -c rustfmt -c clippy
rustup default stable rustup default stable
- test: | - test: |
cd ruma-client-api cd ruma-events
# We don't want the build to stop on individual failure of independent # 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 # tools, so capture tool exit codes and set the task exit code manually