From 98d1bd64bcbbe3e1a4004d90d72d9b9908be213e Mon Sep 17 00:00:00 2001 From: Dirk Date: Sat, 28 Nov 2020 10:12:43 +0100 Subject: [PATCH] Trying to save resources for Travis/CI (3.0) See https://github.com/google/EarlGrey/pull/383/files/3b38a5dea36a88aba42a42931e77a7c5429a1837 --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 950e14b..22c36ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,12 @@ addons: packages: - dnsutils - jsonlint +before_install: + - if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|(.pem)|(.pdf)|(.html)|^(LICENSE)|^(docs)|^(utils)|^(bin)|(Dockerfile)' + then + echo "no code was updated, not running the CI." + exit + fi install: - cpanm --notest Test::More - cpanm --notest Data::Dumper