dynarmic/.travis/deps.sh
2016-09-02 17:08:09 +01:00

19 lines
499 B
Bash
Executable file

#!/bin/sh
set -e
set -x
# TODO: This isn't ideal.
cd externals
git clone https://github.com/citra-emu/ext-boost
cd ..
if [ "$TRAVIS_OS_NAME" = "linux" -o -z "$TRAVIS_OS_NAME" ]; then
mkdir -p $HOME/.local
curl -L https://cmake.org/files/v3.4/cmake-3.4.1-Linux-i386.tar.gz \
| tar -xz -C $HOME/.local --strip-components=1
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
brew update > /dev/null # silence the very verbose output
brew unlink cmake || true
brew install cmake
fi