See #1687. Install Sass-convert and Uncrustify beautifiers via Docker for Linux Travis CI build
This commit is contained in:
parent
6aee12ba80
commit
a83b1b83ae
14
.travis.yml
14
.travis.yml
|
@ -85,7 +85,7 @@ before_install:
|
||||||
git clone --depth=1 https://github.com/Linuxbrew/brew.git ~/.linuxbrew || true;
|
git clone --depth=1 https://github.com/Linuxbrew/brew.git ~/.linuxbrew || true;
|
||||||
fi
|
fi
|
||||||
# Update Homebrew
|
# Update Homebrew
|
||||||
- brew update
|
# - brew update
|
||||||
- brew tap homebrew/dupes
|
- brew tap homebrew/dupes
|
||||||
- brew tap homebrew/versions
|
- brew tap homebrew/versions
|
||||||
# Ruby language support
|
# Ruby language support
|
||||||
|
@ -94,7 +94,11 @@ before_install:
|
||||||
- gem install htmlbeautifier
|
- gem install htmlbeautifier
|
||||||
- gem install puppet-lint
|
- gem install puppet-lint
|
||||||
# Sass language support
|
# 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
|
# Python language support
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo chmod 777 -R /opt/python; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo chmod 777 -R /opt/python; fi
|
||||||
- pip install --upgrade pip
|
- pip install --upgrade pip
|
||||||
|
@ -103,7 +107,11 @@ before_install:
|
||||||
# SQL language support
|
# SQL language support
|
||||||
- pip install --upgrade sqlparse
|
- pip install --upgrade sqlparse
|
||||||
# Java, C, C++, C#, Objective-C, D, Pawn, Vala
|
# 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
|
# R
|
||||||
- brew tap homebrew/science
|
- brew tap homebrew/science
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue