Skip to content

Commit

Permalink
Use dirname(@__FILE__) instead of Pkg.dir
Browse files Browse the repository at this point in the history
This allows installing the package elsewhere.

Add testing against 0.5 to Travis - this runs the most
recent RC now, release once final tags are done.
  • Loading branch information
tkelman committed Jul 30, 2016
1 parent b8310b9 commit 9348aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ os:
julia:
- 0.3
- 0.4
- 0.5
- nightly
notifications:
email: false
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ end
bind(b, "command", cb)
tcl(b, "invoke")
@assert ctr == 2
img = Image(Pkg.dir("Tk", "examples", "weather-overcast.gif"))
img = Image(joinpath(dirname(@__FILE__), "..", "examples", "weather-overcast.gif"))
map(u-> configure(u, image=img, compound="left"), (l,b))
destroy(w)

Expand Down

0 comments on commit 9348aba

Please sign in to comment.