# Makie on Travis

**URL:** <https://discourse.julialang.org/t/makie-on-travis/27637>\
**Category:** Visualization\
**Tags:** travis\
**Created:** [August 16, 2019, 11:38pm UTC](https://discourse.julialang.org/t/makie-on-travis/27637 "2019-08-16T23:38:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janis\_Erdmanis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/janis_erdmanis/32/10869_2.png) [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Post date:** [August 16, 2019, 11:38pm UTC](https://discourse.julialang.org/t/makie-on-travis/27637/1 "2019-08-16T23:38:32Z")

</div>

Hello everyone!

I am writing documentation for a package which includes animations created with Makie. As I am using `Literate.jl` it makes sense to generate animations at the time of compiling the document with `Documenter`. And as I want the process to be as automated as possible, I need that Travis makes the docs. But Travis keeps failing to build `GLMakie` as can be seen in [logfile](https://github.uconn.edu/gist/anonymous/60833680eaed9814ca77e8de54c7475d).

Is it possible to get Makie run on Travis?

---

<div class="post-metadata">

**Author:** ![asinghvi17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asinghvi17/32/8272_2.png) [@asinghvi17](https://discourse.julialang.org/u/asinghvi17)\
**Post date:** [August 17, 2019, 12:50am UTC](https://discourse.julialang.org/t/makie-on-travis/27637/2 "2019-08-17T00:50:47Z")

</div>

You can’t use GLMakie unless you have a GPU (which Travis doesn’t) - try using CairoMakie instead, if the plots are simple enough? @sdanisch, does WGLMakie support PNG saving yet? Could try to use that too

---

<div class="post-metadata">

**Author:** ![Janis\_Erdmanis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/janis_erdmanis/32/10869_2.png) [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Post date:** [August 17, 2019, 11:34am UTC](https://discourse.julialang.org/t/makie-on-travis/27637/3 "2019-08-17T11:34:24Z")

</div>

`WGLMakie` looks cool but I am not able to get it to save anything. Throws an error of not having a method for that:

```julia
julia> save("plot.png", scene)
ERROR: MethodError: no method matching backend_show(::WGLMakie.WGLBackend, ::IOContext{IOStream}, ::MIME{Symbol("image/png")}, ::Scene)
Closest candidates are:
  backend_show(::Any, ::IO, ::MIME{Symbol("text/plain")}, ::Scene) at /home/janiserdmanis/.julia/packages/AbstractPlotting/wgqnv/src/display.jl:70
  backend_show(::WGLMakie.WGLBackend, ::IO, ::MIME{Symbol("text/html")}, ::Scene) at /home/janiserdmanis/.julia/packages/WGLMakie/XhNJQ/src/WGLMakie.jl:272
  backend_show(::WGLMakie.WGLBackend, ::IO, ::MIME{Symbol("application/vnd.webio.node+json")}, ::Scene) at /home/janiserdmanis/.julia/packages/WGLMakie/XhNJQ/src/WGLMakie.jl:272

```

Whereas `CairoMakie` seems to be too short for my needs as I need 3D `wireframe!` and `mesh!` methods.
