sfizz/.travis/before_install.sh
2019-09-21 15:38:14 +02:00

13 lines
352 B
Bash
Executable file

#!/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
brew install libsndfile
fi