You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
720 B
30 lines
720 B
language: python
|
|
sudo: false
|
|
|
|
env:
|
|
- LUA="lua=5.1"
|
|
- LUA="lua=5.2"
|
|
- LUA="lua=5.3"
|
|
- LUA="luajit=2.0"
|
|
- LUA="luajit=2.1"
|
|
|
|
before_install:
|
|
- pip install hererocks
|
|
- hererocks lua_install -r^ --$LUA
|
|
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
|
|
|
|
install:
|
|
- luarocks install luasec # optional dependency
|
|
- luarocks install luacov
|
|
- luarocks install luacov-coveralls
|
|
|
|
script:
|
|
- luarocks make $(ls rockspec/copas-[a-z]* | sort -r | head -n 1) # get latest development rockspec
|
|
- make coverage
|
|
|
|
after_success:
|
|
- luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install --exclude tests
|
|
|
|
branches:
|
|
except:
|
|
- gh-pages
|
|
|