Skip to content

Commit

Permalink
See #1687. Install Sass-convert and Uncrustify beautifiers via Docker…
Browse files Browse the repository at this point in the history
… for Linux Travis CI build
  • Loading branch information
Glavin001 committed Jun 16, 2017
1 parent 6aee12b commit a83b1b8
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a83b1b8

Please sign in to comment.