summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..8fced6c
--- /dev/null
+++ b/.travis.yml
@@ -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: