Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
lua-http/.travis.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
63 lines (54 sloc)
1.56 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: python | |
| sudo: false | |
| env: | |
| matrix: | |
| - LUA="lua 5.1" | |
| - LUA="lua 5.1" ZLIB=lzlib | |
| - LUA="lua 5.1" ZLIB=lua-zlib | |
| - LUA="lua 5.2" | |
| - LUA="lua 5.2" ZLIB=lzlib | |
| - LUA="lua 5.2" ZLIB=lua-zlib | |
| - LUA="lua 5.3" | |
| - LUA="lua 5.3" ZLIB=lzlib | |
| - LUA="lua 5.3" ZLIB=lua-zlib | |
| - LUA="lua 5.3" COMPAT53=no | |
| - LUA="lua 5.3" LUA_CFLAGS="-DLUA_INT_TYPE=LUA_INT_INT" | |
| - LUA="luajit @" | |
| - LUA="luajit @" ZLIB=lzlib | |
| - LUA="luajit @" ZLIB=lua-zlib | |
| - LUA="luajit 2.0" | |
| - LUA="luajit 2.0" ZLIB=lzlib | |
| - LUA="luajit 2.0" ZLIB=lua-zlib | |
| - LUA="luajit 2.1" | |
| - LUA="luajit 2.1" ZLIB=lzlib | |
| - LUA="luajit 2.1" ZLIB=lua-zlib | |
| branches: | |
| only: | |
| - master | |
| before_install: | |
| - pip install hererocks | |
| - hererocks ~/hererocks -r^ --$LUA --cflags=$LUA_CFLAGS | |
| - export PATH=$PATH:~/hererocks/bin | |
| - eval $(luarocks path --bin) | |
| - luarocks install luacheck | |
| - luarocks install https://raw.githubusercontent.com/andremm/typedlua/master/typedlua-scm-1.rockspec | |
| - luarocks install luacov-coveralls | |
| - luarocks install busted | |
| install: | |
| - luarocks install --only-deps http-scm-0.rockspec | |
| - if [ "$ZLIB" = "lzlib" ]; then luarocks install lzlib; fi | |
| - if [ "$ZLIB" = "lua-zlib" ]; then luarocks install lua-zlib; fi | |
| - if [ "$COMPAT53" = "no" ]; then luarocks remove compat53; fi | |
| script: | |
| - luacheck . | |
| - tlc -o /dev/null spec/require-all.lua | |
| - busted -c | |
| after_success: | |
| - luacov-coveralls -v | |
| notifications: | |
| email: | |
| on_success: change | |
| on_failure: always | |
| cache: | |
| directories: | |
| - $HOME/.cache/hererocks |