added 0.3 and nightly to travis; force Winston to use gtk

This commit is contained in:
Thomas Breloff 2015-10-08 11:48:54 -04:00
parent e60c463328
commit ab9de1e199
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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