mirror of
https://github.com/Jguer/yay
synced 2024-10-05 23:59:13 +00:00
Simple test install from local yay
Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
parent
58745060cf
commit
4d83ffb915
|
@ -12,6 +12,7 @@ arch:
|
|||
script:
|
||||
- make
|
||||
- make test
|
||||
- ./testdata/install_test.sh
|
||||
|
||||
script:
|
||||
- "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"
|
||||
|
|
13
testdata/install_test.sh
vendored
Executable file
13
testdata/install_test.sh
vendored
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
function error() {
|
||||
echo "ERROR: $1"
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "Start simple"
|
||||
./yay -S shfmt --noconfirm || error "unable to make shfmt"
|
||||
|
||||
./yay -Qsq shfmt || error "unable to install shfmt"
|
||||
|
||||
exit 0
|
Loading…
Reference in a new issue