Use travis.debian.net for travis builds
authorMichael Prokop <mika@grml.org>
Mon, 23 Jul 2018 06:57:20 +0000 (08:57 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 23 Jul 2018 07:25:51 +0000 (09:25 +0200)
While at it drop irrelevant stuff from .travis.yml.

Thanks Chris Lamb <lamby@debian.org> for https://travis.debian.net/ \o/

.travis.yml

index e73f966..fe39908 100644 (file)
@@ -3,14 +3,15 @@ sudo: required
 
 services:
   - docker
-  - bash -c 'shellcheck grml-debootstrap chroot-script'
 
-before-install:
-  - docker pull koalaman/shellcheck:stable
+env:
+  - TRAVIS_DEBIAN_DISTRIBUTION=stretch
+  - TRAVIS_DEBIAN_DISTRIBUTION=unstable TRAVIS_DEBIAN_INCREMENT_VERSION_NUMBER=true
 
 script:
-  - docker run koalaman/shellcheck --version
-  - docker run -v "$(pwd)":/code koalaman/shellcheck -e SC2181 /code/chroot-script /code/grml-debootstrap
+  - docker run koalaman/shellcheck:stable --version
+  - docker run -v "$(pwd)":/code koalaman/shellcheck:stable -e SC2181 /code/chroot-script /code/grml-debootstrap
+  - wget -O- http://travis.debian.net/script.sh | sh -
 
 matrix:
   fast_finish: true