This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot-2/.travis.yml
2016-08-25 15:22:41 +02:00

35 lines
1.2 KiB
YAML

language: erlang
before_install:
- CURDIR=$(pwd)
- 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 libjansson-dev
- THIS_DIR=$(cd $(dirname $0); pwd)
- cd $THIS_DIR
- git clone https://github.com/keplerproject/luarocks.git
- cd luarocks
- git checkout tags/v2.3.0
- PREFIX="$THIS_DIR/.luarocks"
- ./configure --prefix=$PREFIX --sysconfdir=$PREFIX/luarocks --force-config
- make build && make install
- cd ..
- rm -rf luarocks
- ./.luarocks/bin/luarocks install luasocket
- ./.luarocks/bin/luarocks install luasec
- ./.luarocks/bin/luarocks install multipart-post
- ./.luarocks/bin/luarocks install dkjson
- ./.luarocks/bin/luarocks install oauth
- ./.luarocks/bin/luarocks install redis-lua
- ./.luarocks/bin/luarocks install lua-cjson
- ./.luarocks/bin/luarocks install fakeredis
- ./.luarocks/bin/luarocks install xml
- ./.luarocks/bin/luarocks install feedparser
- ./.luarocks/bin/luarocks install serpent
- ./.luarocks/bin/luarocks install sha1
- ./.luarocks/bin/luarocks install lpeg
- cd $CURDIR
script:
- luac -p miku/*.lua
- luac -p miku/plugins/*.lua