Travis: Verify ccache deb checksum

This commit is contained in:
Lukas W
2017-03-26 22:45:41 +02:00
parent 4dc5d14ea3
commit a9a28a8ea8
2 changed files with 4 additions and 2 deletions

1
.travis/ccache.sha256 Normal file
View File

@@ -0,0 +1 @@
0de866bc0ee26de392e037104b174474989a830e2249280a136144baa44557aa ccache_3.2.4-1_amd64.deb

View File

@@ -25,6 +25,7 @@ sudo apt-get install -y $PACKAGES
# ccache 3.2 is needed because mingw32-x-gcc is version 4.9, which causes cmake
# to use @file command line passing, which in turn ccache 3.1.9 doesn't support
pushd /tmp
wget http://archive.ubuntu.com/ubuntu/pool/main/c/ccache/ccache_3.2.3-1_amd64.deb
sudo dpkg -i ccache_3.2.3-1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/c/ccache/ccache_3.2.4-1_amd64.deb
sha256sum -c $TRAVIS_BUILD_DIR/.travis/ccache.sha256
sudo dpkg -i ccache_3.2.4-1_amd64.deb
popd