#!/bin/sh

set -ex

cargo build --verbose
cargo test --verbose -- --test-threads=1

for example_dir in examples/*; do
    cd $example_dir
    tox -c "tox.ini" -e py
    cd -
done

#!/bin/sh

set -ex

cargo build --verbose
cargo test --verbose -- --test-threads=1

for example_dir in examples/*; do
    if [ $example != 'examples/linalg' ]; then
        pushd $example_dir
        tox -c "tox.ini" -e py
        popd
    fi
done

Exclude linalg example like travis does
Exclude linalg example like travis does
