pyo3/ci/travis/test.sh

15 lines
336 B
Bash
Raw Normal View History

2018-11-15 20:28:28 +00:00
#!/bin/bash
2019-01-10 07:06:58 +00:00
set -ex
cargo clean
2019-02-01 13:01:18 +00:00
cargo test --features "$FEATURES num-complex"
( cd pyo3-derive-backend; cargo test )
2019-03-24 16:19:15 +00:00
if [ "$TRAVIS_JOB_NAME" = "Minimum nightly" ]; then
cargo fmt --all -- --check
cargo clippy --features "$FEATURES num-complex"
fi
2018-05-05 12:19:50 +00:00
for example_dir in examples/*; do
2019-01-10 07:06:58 +00:00
tox -c "$example_dir/tox.ini" -e py
done