added 0.3 and nightly to travis; force Winston to use gtk
This commit is contained in:
parent
e60c463328
commit
ab9de1e199
@ -4,9 +4,11 @@ os:
|
|||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
julia:
|
julia:
|
||||||
|
- 0.3
|
||||||
- 0.4
|
- 0.4
|
||||||
|
- nightly
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: true
|
||||||
# uncomment the following lines to override the default test script
|
# uncomment the following lines to override the default test script
|
||||||
script:
|
script:
|
||||||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
||||||
|
|||||||
@ -143,8 +143,10 @@ function backend()
|
|||||||
|
|
||||||
elseif currentBackendSymbol == :winston
|
elseif currentBackendSymbol == :winston
|
||||||
try
|
try
|
||||||
|
@eval ENV["WINSTON_OUTPUT"] = "gtk"
|
||||||
@eval import Winston, Gtk
|
@eval import Winston, Gtk
|
||||||
@eval export Winston, Gtk
|
@eval export Winston, Gtk
|
||||||
|
#@eval Winston._winston_config.defaults["output_surface"] = "gtk"
|
||||||
catch err
|
catch err
|
||||||
error("Couldn't import Winston. Install it with: Pkg.add(\"Winston\").\n Error: ", err)
|
error("Couldn't import Winston. Install it with: Pkg.add(\"Winston\").\n Error: ", err)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user