aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/ci/setup.sh')
-rwxr-xr-xsrc/scripts/ci/setup.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/scripts/ci/setup.sh b/src/scripts/ci/setup.sh
index 56643308a..85edf6a25 100755
--- a/src/scripts/ci/setup.sh
+++ b/src/scripts/ci/setup.sh
@@ -2,17 +2,17 @@
set -ev
-apt-get install -y g++-4.8
-apt-get install -y libssl-dev
-apt-get install -y libz-dev
-apt-get install -y libsqlite3-dev
-update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
-update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
-update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.8 90
+sudo apt-get install -y g++-4.8
+sudo apt-get install -y libssl-dev
+sudo apt-get install -y libz-dev
+sudo apt-get install -y libsqlite3-dev
+sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
+sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
+sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.8 90
if [ "$BUILD_MODE" = "coverage" ]; then
wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
tar -xvf lcov_1.11.orig.tar.gz
- make -C lcov-1.11/ install
+ sudo make -C lcov-1.11/ install
gem install coveralls-lcov
fi