-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (37 loc) · 794 Bytes
/
.travis.yml
File metadata and controls
45 lines (37 loc) · 794 Bytes
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
language: python
sudo: false
env:
matrix:
- LUA="luajit @"
- LUA="luajit 2.0"
- LUA="luajit 2.1"
global:
- LD_LIBRARY_PATH="$HOME/.local/lib"
branches:
only:
- master
before_install:
- pip install hererocks
- hererocks ~/hererocks -r^ --$LUA
- export PATH=$PATH:~/hererocks/bin
- eval `luarocks path --bin`
- luarocks install luacheck
- luarocks install luacov-coveralls
- luarocks install lua_cliargs 2.5-5
- luarocks install busted 2.0.rc10-0
- ./.ci.sh
install:
- luarocks install --only-deps rockspec/bpf-scm-1.rockspec
script:
- luacheck .
- busted -c
after_success:
- luacov-coveralls -v
notifications:
email:
on_success: change
on_failure: change
cache:
directories:
- $HOME/.cache/hererocks
- $HOME/.local