Files
rojo/.travis.yml
2018-11-27 10:45:02 -08:00

43 lines
925 B
YAML

matrix:
include:
- language: python
env:
- LUA="lua=5.1"
before_install:
- pip install hererocks
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin
install:
- luarocks install luafilesystem
- luarocks install busted
- luarocks install luacov
- luarocks install luacov-coveralls
- luarocks install luacheck
script:
- cd plugin
- luacheck src
- lua -lluacov spec.lua
after_success:
- cd plugin
- luacov-coveralls -e $TRAVIS_BUILD_DIR/lua_install
# Stable builds can be re-enabled after 2018-12-06, when Rust 1.31 is stable
# - language: rust
# rust: stable
# script:
# - cd server
# - cargo test --verbose
- language: rust
rust: beta
script:
- cd server
- cargo test --verbose