pyo3/ci/travis/test.sh
2018-05-05 14:19:50 +02:00

14 lines
201 B
Bash
Executable file

#!/bin/sh
set -e
cargo build --features $FEATURES
cargo test --features $FEATURES
for example in examples/*; do
cd $example
python setup.py install
pytest -v tests
cd $TRAVIS_BUILD_DIR
done