Skip to content

Commit

Permalink
Drop support for julia < 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tkluck committed Apr 22, 2019
1 parent 1d7a8aa commit 13e1b09
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -4,8 +4,6 @@ os:
- linux
- osx
julia:
- 0.6
- 0.7
- 1.0
- 1.1
- nightly
Expand Down
3 changes: 3 additions & 0 deletions JuliaProject.toml
Expand Up @@ -3,6 +3,9 @@ uuid = "7957ca88-7554-11e8-9c82-b34c04f5d4e2"
author = ["Timo Kluck <tkluck@infty.nl>"]
version = "0.4.0"

[compat]
julia = "1.0"

[deps]
Profile = "9abbd945-dff8-562f-b5e8-e1ebf5ef1b79"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2 changes: 0 additions & 2 deletions REQUIRE

This file was deleted.

2 changes: 0 additions & 2 deletions appveyor.yml
@@ -1,7 +1,5 @@
environment:
matrix:
- julia_version: 0.6
- julia_version: 0.7
- julia_version: 1
- julia_version: 1.1
- julia_version: nightly
Expand Down
13 changes: 3 additions & 10 deletions src/StatProfilerHTML.jl
Expand Up @@ -2,16 +2,9 @@ module StatProfilerHTML

export statprofilehtml

if VERSION >= v"0.7-"
using Profile
using Base.StackTraces: StackFrame
with_value(f, x) = x !== nothing && f(x)
else
using Compat: @info
using Base.Profile
with_value(f, x) = !isnull(x) && f(get(x))
stdout = STDOUT
end
using Profile
using Base.StackTraces: StackFrame
with_value(f, x) = x !== nothing && f(x)

const basepath = dirname(@__DIR__)
const sharepath = joinpath(basepath, "share")
Expand Down

0 comments on commit 13e1b09

Please sign in to comment.