diff options
Diffstat (limited to '.ci/install.sh')
-rwxr-xr-x | .ci/install.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.ci/install.sh b/.ci/install.sh new file mode 100755 index 0000000000..42c8026396 --- /dev/null +++ b/.ci/install.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +set -e +set -o pipefail + +if [[ -n "${CI_TARGET}" ]]; then + exit +fi + +if [[ "${TRAVIS_OS_NAME}" == osx ]]; then + brew install gettext +elif [[ "${BUILD_MINGW}" == ON ]]; then + # TODO: When Travis gets a recent version of Mingw-w64 use packages: + # binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-dev mingw-w64-tools + + echo "Downloading MinGW..." + wget -q -O - "http://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/i686-w64-mingw32-gcc-4.8.0-linux64_rubenvb.tar.xz" | tar xJf - -C "${HOME}/.local" +fi + +pip install --user --upgrade cpp-coveralls neovim |