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:
- rustup
sources:
- https://github.com/ruma/ruma-client-api
- https://github.com/ruma/ruma-events
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-client-api
cd ruma-events
# 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

View File

@ -2,7 +2,7 @@ image: archlinux
packages:
- rustup
sources:
- https://github.com/ruma/ruma-client-api
- https://github.com/ruma/ruma-events
tasks:
- rustup: |
rustup toolchain install nightly --profile minimal
@ -13,7 +13,7 @@ tasks:
rustup component add rustfmt || true
rustup component add clippy || true
- test: |
cd ruma-client-api
cd ruma-events
# 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

View File

@ -2,14 +2,14 @@ image: archlinux
packages:
- rustup
sources:
- https://github.com/ruma/ruma-client-api
- https://github.com/ruma/ruma-events
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-client-api
cd ruma-events
# 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