Fix Mac Travis CI build, use docker only in Linux build

This commit is contained in:
Glavin Wiechert 2017-06-12 00:12:53 -03:00
parent a36fc7d1e1
commit 999b256163
1 changed files with 3 additions and 2 deletions

View File

@ -80,8 +80,6 @@ cache:
- $HOME/.stack
before_install:
# Docker based beautifiers
- docker pull unibeautify/rscript
# Install Homebrew on Linux
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
git clone --depth=1 https://github.com/Linuxbrew/brew.git ~/.linuxbrew || true;
@ -111,6 +109,9 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install r;
rscript --version;
else
# Docker based beautifiers
docker pull unibeautify/rscript;
fi
# PHP
- brew tap homebrew/homebrew-php