Travis: build luarocks in /tmp also (#1995)

This commit is contained in:
Daniel Hahler 2017-08-16 10:57:23 +02:00 committed by GitHub
parent e9adb28af6
commit b8ad56ad81
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ install:
# Install luarocks (for the selected Lua version).
- |
travis_retry wget https://github.com/luarocks/luarocks/archive/v2.4.2.tar.gz
tar xf v2.4.2.tar.gz
(cd luarocks-* \
tar xf v2.4.2.tar.gz -C /tmp
(cd /tmp/luarocks-* \
&& ./configure --lua-version=$LUA --with-lua-include=${LUAINCLUDE} ${LUAROCKS_ARGS} \
&& make build \
&& sudo make install)