summaryrefslogtreecommitdiffstats
path: root/src/civetweb/ci/travis/install_rocks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/civetweb/ci/travis/install_rocks.sh')
-rwxr-xr-xsrc/civetweb/ci/travis/install_rocks.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/civetweb/ci/travis/install_rocks.sh b/src/civetweb/ci/travis/install_rocks.sh
new file mode 100755
index 00000000..739248b8
--- /dev/null
+++ b/src/civetweb/ci/travis/install_rocks.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+set -ev
+
+source ci/travis/lua_env.sh
+
+# add any rocks required for ci_tests to this list
+# lua-curl depends on a libcurl development package (i.e. libcurl4-openssl-dev)
+ROCKS=(lua-curl busted)
+
+for ROCK in ${ROCKS[*]}
+do
+ $LUAROCKS install $ROCK
+done
+