From adad6e0a1c2bb6cd5e56db26d660fa9342cf0d0e Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 15 Oct 2016 17:59:23 +0200 Subject: Travis: Only trigger a compile, when C/C++ related files were touched (#4284) --- util/travis/before_install.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/travis/before_install.sh') diff --git a/util/travis/before_install.sh b/util/travis/before_install.sh index d25614edb..891371984 100755 --- a/util/travis/before_install.sh +++ b/util/travis/before_install.sh @@ -1,4 +1,8 @@ #!/bin/bash -e +echo "Preparing for $TRAVIS_COMMIT_RANGE" +. util/travis/common.sh + +needs_compile || exit 0 if [[ $TRAVIS_OS_NAME == "linux" ]]; then sudo apt-get update -- cgit v1.2.3