pyo3/ci/travis/test.sh

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