sfizz/.travis/before_install.sh

13 lines
326 B
Bash
Raw Normal View History

2019-09-18 09:13:36 +02:00
#!/bin/bash
set -e
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
wget https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.sh
sudo sh cmake-3.13.0-Linux-x86_64.sh --skip-license --prefix=/usr/local
export PATH="/usr/local/bin:$PATH" # FIXME
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update
brew upgrade cmake
fi