pyo3/ci/travis/test.sh
2018-05-21 15:25:09 +02:00

14 lines
202 B
Bash
Executable file

#!/bin/sh
set -ex
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