From d83d916314d43f767be1ba83bdc8bfdbc9951571 Mon Sep 17 00:00:00 2001 From: Tiago Almeida Date: Sat, 23 Nov 2019 22:22:59 +0000 Subject: [PATCH] Update travis rules --- .travis.yml | 24 ++++++++++++++++++------ shellcheck.sh | 4 ---- 2 files changed, 18 insertions(+), 10 deletions(-) delete mode 100755 shellcheck.sh diff --git a/.travis.yml b/.travis.yml index b8b5de3..a9ada4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,24 @@ -sudo: required -dist: trusty +# Tests +# Verify the install script -before_install: - - echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list - - sudo apt-get -qq update - - sudo apt-get install -y shellcheck +# minimal = sh +os: linux +language: minimal + +dist: bionic git: depth: 3 + quiet: true + +branches: + only: + - master + - themify + +before_install: + - sudo apt-get update + - sudo apt-get install -y shellcheck nano + script: ./shellcheck.sh diff --git a/shellcheck.sh b/shellcheck.sh deleted file mode 100755 index 22ad42b..0000000 --- a/shellcheck.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -ev -# Shellcheck the script - -shellcheck install.sh