mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-27 03:16:33 +00:00
12 lines
348 B
Bash
12 lines
348 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# Ensure stable builds.
|
|
cargo +stable test --no-run
|
|
cargo +stable test --no-run --features tracing
|
|
|
|
# Ensure nightly builds.
|
|
cargo +nightly test --no-run --features nightly,tracing
|
|
|
|
# Run tests on nightly.
|
|
RGAPI_KEY="$(cat apikey.txt)" RUST_BACKTRACE=1 RUST_LOG=riven=trace cargo +nightly test --features nightly -- --nocapture
|