pyo3/ci/travis/test.sh
2019-02-01 14:23:29 +01:00

11 lines
222 B
Bash
Executable file

#!/bin/bash
set -ex
cargo fmt --all -- --check
cargo test --features "$FEATURES num-complex"
cargo clippy --features "$FEATURES num-complex"
for example_dir in examples/*; do
tox -c "$example_dir/tox.ini" -e py
done