From a83b1b83ae88b6451cb0d1df5976fb81a1fb6cc5 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Fri, 16 Jun 2017 20:54:55 -0300 Subject: [PATCH] See #1687. Install Sass-convert and Uncrustify beautifiers via Docker for Linux Travis CI build --- .travis.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ea7e125..d86609b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,7 +85,7 @@ before_install: git clone --depth=1 https://github.com/Linuxbrew/brew.git ~/.linuxbrew || true; fi # Update Homebrew - - brew update + # - brew update - brew tap homebrew/dupes - brew tap homebrew/versions # Ruby language support @@ -94,7 +94,11 @@ before_install: - gem install htmlbeautifier - gem install puppet-lint # Sass language support - - gem install sass + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then + gem install sass; + else + docker pull unibeautify/sass-convert + fi # Python language support - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo chmod 777 -R /opt/python; fi - pip install --upgrade pip @@ -103,7 +107,11 @@ before_install: # SQL language support - pip install --upgrade sqlparse # Java, C, C++, C#, Objective-C, D, Pawn, Vala - - brew install uncrustify + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then + brew install uncrustify + else + docker pull unibeautify/uncrustify + fi # R - brew tap homebrew/science - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then