aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/if_changed.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/if_changed.sh')
-rwxr-xr-xscripts/if_changed.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/if_changed.sh b/scripts/if_changed.sh
index b075a97..697cad2 100755
--- a/scripts/if_changed.sh
+++ b/scripts/if_changed.sh
@@ -66,6 +66,10 @@ else
esac
fi
+# Always rebuild if Travis configuration and/or build scripts changed.
+check_changes '^.travis.yml'
+check_changes '^scripts/(build|if_changed).sh'
+
if [[ "$run" == true ]]; then
"$@"
else