-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (57 loc) · 1.18 KB
/
.travis.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: c
matrix:
include:
- os: linux
env:
- LUA="lua=5.1"
- os: linux
env:
- LUA="lua=5.2"
- os: linux
env:
- LUA="lua=5.3"
- os: linux
env:
- LUA="luajit=2.0"
- os: linux
env:
- LUA="luajit=2.1"
- os: osx
language: generic
env:
- LUA="lua=5.1"
- os: osx
language: generic
env:
- LUA="lua=5.2"
- os: osx
language: generic
env:
- LUA="lua=5.3"
- os: osx
language: generic
env:
- LUA="luajit=2.0"
- os: osx
language: generic
env:
- LUA="luajit=2.1"
before_install:
- pip2 install codecov
- pip2 install hererocks
- hererocks lua_install --$LUA -r latest
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
- source lua_install/bin/activate
- luarocks install busted
- luarocks install cluacov
- luarocks install luacheck
- luarocks install luacov-coveralls
install:
- luarocks make
script:
- luacheck src
- busted -c -v
after_script:
- luacov src
- codecov -X gcov
- luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install