Don't update luarocks on update()
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user