2020-02-10 21:27:07 +01:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2020-03-10 01:17:03 +01:00
|
|
|
if [ "$TRAVIS_OS_NAME" = 'linux' ]; then
|
2020-02-10 21:27:07 +01:00
|
|
|
# Remove the CMake provided by travis
|
|
|
|
sudo rm -rf /usr/local/cmake*
|
2020-03-10 01:17:03 +01:00
|
|
|
if [ "$BUILD_SUIT" = 'autotools' ]; then
|
2020-02-10 21:27:07 +01:00
|
|
|
sudo pip install -U cpp-coveralls;
|
|
|
|
git submodule --quiet init;
|
|
|
|
git submodule --quiet update vendor/googletest;
|
|
|
|
else
|
|
|
|
pushd /usr/src/googletest;
|
|
|
|
sudo cmake .;
|
|
|
|
sudo make install -j2;
|
|
|
|
popd;
|
|
|
|
fi
|
|
|
|
fi
|
2020-03-09 15:20:38 +01:00
|
|
|
sudo luarocks install busted > /dev/null
|
|
|
|
sudo luarocks install moonscript > /dev/null
|
|
|
|
sudo luarocks install uuid > /dev/null
|