From ab9de1e1996f996a3697c94c02c28c3a4806f898 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Thu, 8 Oct 2015 11:48:54 -0400 Subject: [PATCH] added 0.3 and nightly to travis; force Winston to use gtk --- .travis.yml | 4 +++- src/plotter.jl | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8a199f2f..5929be39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,11 @@ os: - linux - osx julia: + - 0.3 - 0.4 + - nightly notifications: - email: false + email: true # uncomment the following lines to override the default test script script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi diff --git a/src/plotter.jl b/src/plotter.jl index 7337c86c..2fc3ae6b 100644 --- a/src/plotter.jl +++ b/src/plotter.jl @@ -143,8 +143,10 @@ function backend() elseif currentBackendSymbol == :winston try + @eval ENV["WINSTON_OUTPUT"] = "gtk" @eval import Winston, Gtk @eval export Winston, Gtk + #@eval Winston._winston_config.defaults["output_surface"] = "gtk" catch err error("Couldn't import Winston. Install it with: Pkg.add(\"Winston\").\n Error: ", err) end