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

Update Travis CI configuration #89

Closed
wants to merge 2 commits into from
Closed

Conversation

mdickinson
Copy link
Member

Attempt to fix #87:

  • Update Travis CI configuration to account for Travis build machine and build configuration changes
  • Update EDM to a recent version

@jwiggins
Copy link
Member

[EXECUTING] edm environments create traits-enaml-2.7-pyside --force --version=2.7
Fetching indices for runtime repositories. done
No runtime available matching version '2.7'

@mdickinson
Copy link
Member Author

Okay, this isn't looking like something that can be fixed quickly.

With this PR, we do have one of the Travis CI jobs ("Minimum requirements in EDS") that's getting as far as running the tests. There are two test failures - one related to Mayavi/VTK, and one related to Enable:

======================================================================
ERROR: Failure: ImportError (Unable to import the image backend for the qt4 toolkit (reason: ['ImportError: No module named _agg\n']).)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/traits_enaml/tests/test_enable_canvas.py", line 16, in <module>
    from enable.api import Component
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/enable/api.py", line 21, in <module>
    from .markers import MarkerTrait, marker_trait, MarkerNameDict, marker_names, \
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/enable/markers.py", line 18, in <module>
    from .compiled_path import CompiledPath
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/enable/compiled_path.py", line 17, in <module>
    from .toolkit import toolkit_object
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/enable/toolkit.py", line 47, in <module>
    _init_toolkit()
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/enable/toolkit.py", line 40, in _init_toolkit
    format_exception_only(t, v)))
ImportError: Unable to import the image backend for the qt4 toolkit (reason: ['ImportError: No module named _agg\n']).
======================================================================
ERROR: Failure: ImportError (No module named vtkRenderingOpenGL2Python
________________________________________________________________________________
Do you have vtk installed properly?
VTK (and build instructions) can be obtained from http://www.vtk.org
)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/traits_enaml/tests/test_mayavi_canvas.py", line 16, in <module>
    from mayavi.core.ui.api import MlabSceneModel
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/mayavi/core/ui/api.py", line 1, in <module>
    from mayavi.tools.mlab_scene_model import MlabSceneModel
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/mayavi/tools/mlab_scene_model.py", line 8, in <module>
    from tvtk.pyface.scene_model import SceneModel
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/tvtk/pyface/scene_model.py", line 20, in <module>
    from tvtk.pyface.tvtk_scene import TVTKScene
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/tvtk/pyface/tvtk_scene.py", line 20, in <module>
    from tvtk.api import tvtk
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/tvtk/api.py", line 11, in <module>
    from tvtk.tvtk_access import tvtk
  File "/home/travis/.edm/envs/traits-enaml-2.7-pyside/lib/python2.7/site-packages/tvtk/tvtk_access.py", line 43, in <module>
    raise ImportError(msg)
ImportError: No module named vtkRenderingOpenGL2Python
________________________________________________________________________________
Do you have vtk installed properly?
VTK (and build instructions) can be obtained from http://www.vtk.org

@mdickinson
Copy link
Member Author

Closing. More work is required here.

@mdickinson mdickinson closed this Jun 15, 2021
@mdickinson mdickinson deleted the build/resurrect-ci branch June 15, 2021 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Travis CI setup
2 participants