dynarmic/.travis/deps.sh

20 lines
499 B
Bash
Raw Normal View History

2016-09-02 11:28:50 +01:00
#!/bin/sh
set -e
set -x
# TODO: This isn't ideal.
cd externals
git clone https://github.com/citra-emu/ext-boost
cd ..
2016-09-02 12:57:16 +01:00
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