Initial travis integration, running shellcheck
authorMichael Prokop <mika@grml.org>
Sun, 22 Jul 2018 14:50:32 +0000 (16:50 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 23 Jul 2018 06:16:07 +0000 (08:16 +0200)
.travis.yml [new file with mode: 0644]
README.md

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..e73f966
--- /dev/null
@@ -0,0 +1,16 @@
+language: generic
+sudo: required
+
+services:
+  - docker
+  - bash -c 'shellcheck grml-debootstrap chroot-script'
+
+before-install:
+  - docker pull koalaman/shellcheck:stable
+
+script:
+  - docker run koalaman/shellcheck --version
+  - docker run -v "$(pwd)":/code koalaman/shellcheck -e SC2181 /code/chroot-script /code/grml-debootstrap
+
+matrix:
+  fast_finish: true
index 2d8156b..8c48496 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
 grml-debootstrap
 ================
 
 grml-debootstrap
 ================
 
+[![Build Status](https://travis-ci.org/grml/grml-debootstrap.svg?branch=master)](https://travis-ci.org/grml/grml-debootstrap)
+
 This tool is a wrapper suite around debootstrap and cdebootstrap
 to ease installation of a pure [Debian](http://debian.org/) system.
 
 This tool is a wrapper suite around debootstrap and cdebootstrap
 to ease installation of a pure [Debian](http://debian.org/) system.