Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install ffmpeg to run animation tests #31

Merged
merged 1 commit into from Sep 24, 2017
Merged

Install ffmpeg to run animation tests #31

merged 1 commit into from Sep 24, 2017

Conversation

ljvmiranda921
Copy link
Owner

@ljvmiranda921 ljvmiranda921 commented Sep 23, 2017

This pull request aims to install the ffmpeg in travis-ci. This
is to facilitate the success of checks that use the matplotlib.animation.FuncAnimation
class. The modifications are done in the .travis.yml file.

@ljvmiranda921 ljvmiranda921 self-assigned this Sep 23, 2017
@ljvmiranda921 ljvmiranda921 changed the title Add conda dependency (#30) Conda dependencies for installing ffmpeg Sep 23, 2017
@ljvmiranda921
Copy link
Owner Author

It turns out that there is an issue between the tox virtualenv and the environments created by
conda. I will resolve this by installing virtualenv via conda.

Relevant Discussions

@ljvmiranda921 ljvmiranda921 changed the title Conda dependencies for installing ffmpeg Install ffmpeg to run animation tests Sep 23, 2017
@ljvmiranda921
Copy link
Owner Author

It seems that ffmpeg has already moved into another package whatsoever. I am now installing another toolchain called libav-tools

Relevant Discussions

@ljvmiranda921
Copy link
Owner Author

Now there is another problem with respect to the display errors in _tkinter.TclError. I tried
solving this by changing the environment variables for the display.

Relevant discussions

This commit aims to resolve all dependency issues in the
matplotlib.animation.FuncAnimation when running the
test_plot_environment script.

A toolchain called libav-tools is installed in travis-ci,
and an if-else script checks if display is found. If not,
then it uses the default 'Agg' backend.

Moreover, the mock==2.0.0 package is also used during
tests as shown in setup.py.

Author: ljvmiranda921
E-mail: ljvmiranda@gmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant