Matthias Volk
4 years ago
No known key found for this signature in database
GPG Key ID: 83A57678F739FCD3
2 changed files with
3 additions and
1 deletions
-
setup.py
-
travis/build-helper.sh
|
@ -278,7 +278,7 @@ setup( |
|
|
tests_require=['pytest', 'nbval'], |
|
|
tests_require=['pytest', 'nbval'], |
|
|
extras_require={ |
|
|
extras_require={ |
|
|
"numpy": ["numpy"], |
|
|
"numpy": ["numpy"], |
|
|
"doc": ["sphinx", "sphinx_bootstrap_theme", "nbsphinx", "ipython", "ipykernel"], # also requires pandoc to be installed |
|
|
|
|
|
|
|
|
"doc": ["Sphinx", "sphinx-bootstrap-theme", "nbsphinx", "ipython", "ipykernel"], # also requires pandoc to be installed |
|
|
}, |
|
|
}, |
|
|
python_requires='>=3', |
|
|
python_requires='>=3', |
|
|
) |
|
|
) |
|
@ -64,6 +64,8 @@ run() { |
|
|
# Perform tasks |
|
|
# Perform tasks |
|
|
if [[ "$TASK" == *Test* ]] |
|
|
if [[ "$TASK" == *Test* ]] |
|
|
then |
|
|
then |
|
|
|
|
|
# Install dependencies for tests |
|
|
|
|
|
pip install numpy # Used in sphinx tests |
|
|
# Run tests |
|
|
# Run tests |
|
|
python setup.py test |
|
|
python setup.py test |
|
|
fi |
|
|
fi |
|
|