15 lines
336 B
Bash
Executable file
15 lines
336 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
cargo clean
|
|
cargo test --features "$FEATURES num-complex"
|
|
( cd pyo3-derive-backend; cargo test )
|
|
if [ "$TRAVIS_JOB_NAME" = "Minimum nightly" ]; then
|
|
cargo fmt --all -- --check
|
|
cargo clippy --features "$FEATURES num-complex"
|
|
fi
|
|
|
|
for example_dir in examples/*; do
|
|
tox -c "$example_dir/tox.ini" -e py
|
|
done
|