From 29ad4db47d97b527c8cae34410aa461f0fd8d528 Mon Sep 17 00:00:00 2001 From: Eugene Kliuchnikov Date: Thu, 23 Mar 2017 16:23:57 +0100 Subject: [PATCH] Break build on sha256sum mismatch (#527) --- .travis.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.sh b/.travis.sh index c4d46be..2ddf6e1 100755 --- a/.travis.sh +++ b/.travis.sh @@ -7,7 +7,7 @@ case "$1" in case "${BUILD_SYSTEM}" in "bazel") wget https://github.com/bazelbuild/bazel/releases/download/0.4.5/bazel_0.4.5-linux-x86_64.deb - echo "b494d0a413e4703b6cd5312403bea4d92246d6425b3be68c9bfbeb8cc4db8a55 bazel_0.4.5-linux-x86_64.deb" | sha256sum -c --strict + echo 'b494d0a413e4703b6cd5312403bea4d92246d6425b3be68c9bfbeb8cc4db8a55 bazel_0.4.5-linux-x86_64.deb' | sha256sum -c --strict || exit 1 sudo dpkg -i bazel_0.4.5-linux-x86_64.deb ;; esac @@ -40,7 +40,9 @@ case "$1" in "linux") case "${CC}" in "pgcc") - wget -q -O /dev/stdout 'https://raw.githubusercontent.com/nemequ/pgi-travis/master/install-pgi.sh' | /bin/sh + wget 'https://raw.githubusercontent.com/nemequ/pgi-travis/de6212d94fd0e7d07a6ef730c23548c337c436a7/install-pgi.sh' + echo 'acd3ef995ad93cfb87d26f65147395dcbedd4c3c844ee6ec39616f1a347c8df5 install-pgi.sh' | sha256sum -c --strict || exit 1 + /bin/sh install-pgi.sh ;; esac ;;