summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2019-01-22 02:17:56 +0100
committerLevente Polyak <anthraxx@archlinux.org>2019-01-22 03:33:53 +0100
commit65b50dac40fff6032e8e6a28a2b7bf0a6482bf2e (patch)
tree1b57ad879e43e4d90768d5030e05cd7c74b3d11c
parent799376904de77c2fb862fc559c60489b37e72232 (diff)
downloaddevtools-65b50dac40fff6032e8e6a28a2b7bf0a6482bf2e.tar.gz
devtools-65b50dac40fff6032e8e6a28a2b7bf0a6482bf2e.tar.xz
ci: adding travis support for basic check
-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: