Don't update luarocks on update()

This commit is contained in:
yago 2015-04-05 23:01:42 +02:00
parent b6c1f7de4a
commit c27a5ae371
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ before_install:
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git - sudo apt-get install -qq libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev make unzip git
- ./launch.sh install - ./launch.sh install
- ./launch.sh update
script: script:
- luac -p bot/*.lua - luac -p bot/*.lua

View File

@ -44,6 +44,8 @@ install_rocks() {
} }
install() { install() {
git pull
git submodule update --init --recursive
cd tg && ./configure && make cd tg && ./configure && make
RET=$?; if [ $RET -ne 0 ]; RET=$?; if [ $RET -ne 0 ];
then echo "Error. Exiting."; exit $RET; then echo "Error. Exiting."; exit $RET;