-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
48 lines (39 loc) · 1.1 KB
/
.travis.yml
File metadata and controls
48 lines (39 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: c
sudo: false
env:
global:
- LUAROCKS=2.4.2
- ROCKSPEC=rockspecs/lpath-scm-0.rockspec
matrix:
- LUA="lua 5.1"
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="luajit 2.0"
- LUA="luajit 2.1"
branches:
only:
- master
before_install:
- pip install --user hererocks
- hererocks env --$LUA -rlatest # Use latest LuaRocks, install into 'env' directory.
- source env/bin/activate # Add directory with all installed binaries to PATH.
- luarocks install luacov
- luarocks install luacov-coveralls --server=https://rocks.moonscript.org/dev
# - luarocks install busted
# - pip install cpp-coveralls
# - luarocks install Lua-cURL --server=https://rocks.moonscript.org/dev
# - luarocks install lunitx
install:
- luarocks make
script:
- lua -lluacov test.lua
# - lunit.sh test.lua
after_success:
- luacov-coveralls -v -i iter.lua -i test.impl.lua
# - coveralls -b .. -r .. --dump c.report.json
# - luacov-coveralls -j c.report.json -v
notifications:
email:
on_success: change
on_failure: always
# vim: ft=yaml nu et sw=2 fdc=2 fdm=syntax