Skip to content

Commit 9348aba

Browse files
committed
Use dirname(@__FILE__) instead of Pkg.dir
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.
1 parent b8310b9 commit 9348aba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ os:
44
julia:
55
- 0.3
66
- 0.4
7+
- 0.5
78
- nightly
89
notifications:
910
email: false

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ end
132132
bind(b, "command", cb)
133133
tcl(b, "invoke")
134134
@assert ctr == 2
135-
img = Image(Pkg.dir("Tk", "examples", "weather-overcast.gif"))
135+
img = Image(joinpath(dirname(@__FILE__), "..", "examples", "weather-overcast.gif"))
136136
map(u-> configure(u, image=img, compound="left"), (l,b))
137137
destroy(w)
138138

0 commit comments

Comments
 (0)