mirror of
https://github.com/Jguer/yay
synced 2024-09-14 13:51:12 +00:00
Merge pull request #370 from Jguer/travis-exp
Test arch-travis on yay. Just test if it's building right now and then we can get serious
This commit is contained in:
commit
6809d7c6d2
20
.travis.yml
Normal file
20
.travis.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
sudo: required
|
||||
notifications:
|
||||
email: false
|
||||
language: generic
|
||||
services:
|
||||
- docker
|
||||
|
||||
arch:
|
||||
packages:
|
||||
- git
|
||||
- go
|
||||
script:
|
||||
- go tool vet .
|
||||
- diff -u <(echo -n) <(gofmt -d ./)
|
||||
- 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