Travis: move luarocks install into single block

This commit is contained in:
Daniel Hahler 2016-04-06 01:48:30 +02:00
parent 9c76d2dbb6
commit 7cbbfdf181
1 changed files with 8 additions and 7 deletions

View File

@ -57,13 +57,14 @@ install:
fi
# Install luarocks (for the selected Lua version).
- travis_retry wget https://keplerproject.github.io/luarocks/releases/luarocks-2.3.0.tar.gz
- tar xf luarocks-2.3.0.tar.gz
- cd luarocks-2.3.0
- ./configure --lua-version=$LUA --with-lua-include=${LUAINCLUDE} ${LUAROCKS_ARGS}
- make build
- sudo make install
- cd ..
- |
travis_retry wget https://keplerproject.github.io/luarocks/releases/luarocks-2.3.0.tar.gz
tar xf luarocks-2.3.0.tar.gz
cd luarocks-2.3.0
./configure --lua-version=$LUA --with-lua-include=${LUAINCLUDE} ${LUAROCKS_ARGS}
make build
sudo make install
cd ..
# lgi.
- sudo apt-get install -y gir1.2-pango-1.0 libgirepository1.0-dev