Skip to content

Commit

Permalink
drop support for julia 0.6 issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Dec 16, 2019
1 parent a64aa7c commit 2ba2a14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
5 changes: 0 additions & 5 deletions src/GibbsSeaWater.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
__precompile__()

module GibbsSeaWater

deps = joinpath(dirname(dirname(pathof(GibbsSeaWater))), "deps", "deps.jl")
isfile(deps) ? include(deps) : error("GibbsSeaWater is not properly installed")

include("gen_gswteos_h.jl")
include("gen_gswteos10.jl")
# package code goes here



end # module
11 changes: 4 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using GibbsSeaWater
@static if VERSION < v"0.7.0-DEV.2005"
using Base.Test
else
using Test
as = 35.0; ct = 10.0; pr = 10.0
println(GibbsSeaWater.gsw_rho(as, ct, pr))
end
using Test

as = 35.0; ct = 10.0; pr = 10.0
println(GibbsSeaWater.gsw_rho(as, ct, pr))

# load test data
include("gsw_check_data.jl")
Expand Down

0 comments on commit 2ba2a14

Please sign in to comment.