Skip to content

Commit

Permalink
cleaned old version support
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanBieler committed Feb 10, 2019
1 parent 040fc09 commit ce4366c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ language: julia
sudo: required
os:
- linux
- osx
julia:
- 0.7
- 1.0
- nightly
matrix:
Expand All @@ -27,4 +27,4 @@ script:
julia --check-bounds=yes -e 'using Pkg; Pkg.test("Immerse", coverage=true)';
fi
after_success:
- julia -e 'using Pkg; cd(Pkg.dir("Immerse")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
- julia -e 'using Pkg; cd(Pkg.dir("Immerse")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
3 changes: 2 additions & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
julia 0.7
DataFrames
Gadfly
Compose
Compose
Measures
Compat
Graphics
Colors
Gtk
GtkUtilities
Expand Down
8 changes: 1 addition & 7 deletions src/Immerse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ __precompile__()

module Immerse

using GtkUtilities, Colors, Reexport, Compat, REPL
using GtkUtilities, Colors, Reexport, Compat, REPL, Graphics
@reexport using Gadfly
import Gtk # because both Gadfly and Gtk define draw
import Compose, Measures
Expand All @@ -11,12 +11,6 @@ using Cairo
@eval Compose begin import Cairo end
Compose.link_cairo()

if VERSION < v"0.4.0-dev"
using Base.Graphics
else
using Graphics
end

export
Figure,
closefig,
Expand Down

0 comments on commit ce4366c

Please sign in to comment.