mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-25 14:10:06 +01:00
16 lines
307 B
Bash
16 lines
307 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
cd "$(dirname "$0")"/..
|
||
|
set -ex
|
||
|
|
||
|
export RUSTFLAGS="-D warnings"
|
||
|
|
||
|
cargo check --no-default-features
|
||
|
cargo check --bins --examples --tests
|
||
|
cargo test
|
||
|
|
||
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
||
|
cargo check --no-default-features --features nightly
|
||
|
cargo test --features nightly
|
||
|
fi
|