mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 05:06:29 +00:00
26 lines
635 B
YAML
26 lines
635 B
YAML
language: python
|
|
|
|
env:
|
|
- RUST="stable" LUA="lua=5.1"
|
|
- RUST="beta" LUA="lua=5.1"
|
|
|
|
before_install:
|
|
- pip install hererocks
|
|
- hererocks lua_install -r^ --$LUA
|
|
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $RUST
|
|
- export PATH=$PATH:$PWD/lua_install/bin:$HOME/.cargo/bin
|
|
|
|
install:
|
|
- luarocks install luafilesystem
|
|
- luarocks install busted
|
|
- luarocks install luacov
|
|
- luarocks install luacov-coveralls
|
|
- luarocks install luacheck
|
|
|
|
script:
|
|
- cd plugin && luacheck . && cd ..
|
|
- lua -lluacov spec.lua
|
|
- cargo test --verbose
|
|
|
|
after_success:
|
|
- luacov-coveralls -e $TRAVIS_BUILD_DIR/lua_install |