mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
fix(fish)
some test systems have `go` installed
This commit is contained in:
parent
3488ffd720
commit
7b9ac39271
1 changed files with 8 additions and 6 deletions
|
@ -16,6 +16,7 @@ build:
|
|||
cmake.org: '>=3.5'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
gnu.org/patch: '*'
|
||||
git-scm.org: ^2 # needed for fish's pcre
|
||||
script: |
|
||||
# By default, fish's fish_command_not_found handler will redirect to stderr,
|
||||
# return an exit code of 127. Always. This patch fixes it. Hopefully, it will
|
||||
|
@ -42,8 +43,9 @@ build:
|
|||
test:
|
||||
dependencies:
|
||||
tea.xyz: '*'
|
||||
script:
|
||||
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10go version go"
|
||||
script: |
|
||||
fish $FIXTURE
|
||||
fish $FIXTURE | grep "variable1variable2variable3variable4variable5variable6variable7variable8variable9variable10semverator "
|
||||
fixture: |
|
||||
#!/usr/bin/env fish
|
||||
|
||||
|
@ -53,17 +55,17 @@ test:
|
|||
end
|
||||
|
||||
begin
|
||||
if which go
|
||||
if which semverator
|
||||
exit 2
|
||||
end
|
||||
|
||||
tea --magic=fish | source
|
||||
go version
|
||||
semverator --version
|
||||
|
||||
#FIXME https://github.com/teaxyz/pantry/issues/861
|
||||
# go version > go.out
|
||||
# semverator --version > semverator.out
|
||||
|
||||
# if ! grep go go.out
|
||||
# if ! grep semverator semverator.out
|
||||
# exit 3
|
||||
# end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue