Simple test install from local yay

Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
Jguer 2018-04-27 02:03:58 +01:00
parent 58745060cf
commit 4d83ffb915
2 changed files with 14 additions and 0 deletions

View file

@ -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
View 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