Initial commit
[yaffs-website] / node_modules / node-sass / src / libsass / script / ci-install-deps
1 #!/bin/bash
2 if [ "x$COVERAGE" == "xyes" ]; then
3   pip install --user gcovr
4   pip install --user cpp-coveralls
5 else
6   echo "no dependencies to install"
7 fi
8
9 if [ "x$AUTOTOOLS" == "xyes" ]; then
10   AUTOTOOLS=yes
11
12   if [ "$TRAVIS_OS_NAME" == "linux" ]; then
13     sudo add-apt-repository -y ppa:rbose-debianizer/automake &> /dev/null
14     sudo apt-get -qq update
15     sudo apt-get -qq install automake
16   fi
17
18   # https://github.com/sass/libsass/pull/2183
19   if [ "$TRAVIS_OS_NAME" == "osx" ]; then
20     brew uninstall libtool
21     brew install libtool
22   fi
23 fi