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