-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (42 loc) · 916 Bytes
/
.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
language: c
python:
- "2.7"
sudo: false
matrix:
include:
- compiler: ": Lua51"
env: LUA="lua 5.1"
- compiler: ": Lua52"
env: LUA="lua 5.2"
- compiler: ": Lua53"
env: LUA="lua 5.3"
- compiler: ": LuaJIT20"
env: LUA="luajit 2.0"
- compiler: ": LuaJIT21"
env: LUA="luajit 2.1"
cache:
directories:
- here
- $HOME/.cache/pip
branches:
only:
- master
before_install:
- export CC=gcc
- pip install --user hererocks
- hererocks here -r^ --$LUA
- export PATH=$PATH:$PWD/here/bin
install:
- luarocks make rockspecs/gntp-scm-0.rockspec
before_script:
- luarocks show lunitx || luarocks install lunitx
- luarocks show luacov-coveralls || luarocks install luacov-coveralls
script:
- cd test
- lunit.sh test.lua
after_success:
- luacov-coveralls -v
notifications:
email:
on_success: change
on_failure: always