attempt to make travis happy
parent
e7450ed17b
commit
72cf9c7ba9
|
|
@ -10,8 +10,7 @@ function _go_pathmunge_wrap() {
|
||||||
local i=${#a[@]}
|
local i=${#a[@]}
|
||||||
while [ $i -gt 0 ] ; do
|
while [ $i -gt 0 ] ; do
|
||||||
i=$(( i - 1 ))
|
i=$(( i - 1 ))
|
||||||
echo "${a[i]}/bin"
|
pathmunge "${a[i]}/bin"
|
||||||
# pathmunge "${a[i]}/bin"
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,10 +54,11 @@ load ../../lib/composure
|
||||||
@test 'debug travis' {
|
@test 'debug travis' {
|
||||||
export GOROOT='/foo'
|
export GOROOT='/foo'
|
||||||
export GOPATH='/bar'
|
export GOPATH='/bar'
|
||||||
|
export PATH='/usr/bin:/bin:/usr/sbin'
|
||||||
|
|
||||||
load ../../plugins/available/go.plugin
|
load ../../plugins/available/go.plugin
|
||||||
|
|
||||||
assert_line 'dummy'
|
assert_equal $PATH 'dummy'
|
||||||
}
|
}
|
||||||
|
|
||||||
#@test 'plugins go: single entry in GOPATH' {
|
#@test 'plugins go: single entry in GOPATH' {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue