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