mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 00:01:00 +00:00
chore: Add travis-ci to check the codebase
This commit is contained in:
15
ci/meilidb.sh
Executable file
15
ci/meilidb.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/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
|
Reference in New Issue
Block a user