Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,9 @@ install:

script:
# slycots own unit tests as installed, not those from source dir
- mkdir ../slycot-coverage
- cd ../slycot-coverage
- slycot_dir=$(python -c "import slycot; print(slycot.__path__[0])")
- pytest --pyargs slycot --cov=$slycot_dir --cov-config=../Slycot/.coveragerc
- slycot_dir=$(python -c "import sys; sys.path = sys.path[1:]; import slycot; print(slycot.__path__[0])")
- pytest --cov=$slycot_dir
- mv .coverage .coverage.slycot
#
# As a deeper set of tests, use the suite from python-control master branch as well
- cd ..
Expand All @@ -153,7 +152,6 @@ script:
after_success:
# go back to Slycot dir and merge the coverage to report correct repo data with coveralls
- cd ../Slycot
- cp ../slycot-coverage/.coverage .coverage.slycot
- cp ../python-control/.coverage .coverage.control
- echo " $slycot_dir" >> .coveragerc
- coverage combine
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def setup_package():

metadata = dict(
name='slycot',
packages=['slycot', 'slycot.tests'],
packages=['slycot'],
cmake_languages=('C', 'Fortran'),
version=VERSION,
maintainer="Slycot developers",
Expand Down
1 change: 0 additions & 1 deletion slycot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,3 @@ python_extension_module(${SLYCOT_MODULE})
install(TARGETS ${SLYCOT_MODULE} DESTINATION slycot)
install(FILES ${PYSOURCE} DESTINATION slycot)

add_subdirectory(tests)
21 changes: 0 additions & 21 deletions slycot/tests/CMakeLists.txt

This file was deleted.

Empty file removed slycot/tests/__init__.py
Empty file.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.