ci: adding travis support for basic check

This commit is contained in:
Levente Polyak 2019-01-22 02:17:56 +01:00
parent 799376904d
commit 65b50dac40
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8
1 changed files with 28 additions and 0 deletions

28
.travis.yml Normal file
View File

@ -0,0 +1,28 @@
language: shell
sudo: required
services:
- docker
arch:
packages:
- openssh
- subversion
- rsync
- arch-install-scripts
- git
- bzr
- mercurial
- diffutils
- asciidoc
- shellcheck
script:
- sudo pacman -Syu --noconfirm --needed "${CONFIG_PACKAGES[@]}"
- make PREFIX=/usr
- make PREFIX=/usr DESTDIR="$(mktemp -d)" install
- make check || true
- SHELLCHECK_OPTS="-S error" make check
script: 'curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash'
# vim: ft=yaml ts=2 sw=2 et: