Skip to content

Commit

Permalink
Move rustapi_module into examples
Browse files Browse the repository at this point in the history
This is really a test module, but the Rust convention is to put
something like this under examples/, and when it lands, we can take
advantage of "Project-based Examples for Cargo Projects" - RFC link
at rust-lang/rfcs#2517
  • Loading branch information
pganssle committed Aug 21, 2018
1 parent b66ab7f commit 078bea4
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Expand Up @@ -56,5 +56,4 @@ members = [
"pyo3cls",
"pyo3-derive-backend",
"examples/*",
"tests/rustapi_module",
]
12 changes: 6 additions & 6 deletions ci/travis/test.sh
Expand Up @@ -7,11 +7,11 @@ cargo test --features $FEATURES

for example in examples/*; do
cd $example
python setup.py install
pytest -v tests
if [ -f tox.ini ]; then
tox -e py
else
pip install -e .
pytest -v tests
fi
cd $TRAVIS_BUILD_DIR
done

cd tests/rustapi_module
tox -e py
cd $TRAVIS_BUILD_DIR
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 078bea4

Please sign in to comment.