forked from rojo-rbx/rojo
40 lines
832 B
YAML
40 lines
832 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
|
|
|
|
- language: rust
|
|
rust: stable
|
|
|
|
script:
|
|
- cd server
|
|
- cargo test --verbose
|
|
- language: rust
|
|
rust: beta
|
|
|
|
script:
|
|
- cd server
|
|
- cargo test --verbose
|