-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
47 lines (39 loc) · 963 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
# Taken from https://github.com/kikito/middleclass/blob/master/.travis.yml
os: linux
language: python
sudo: false
addons:
apt:
packages:
- libev-dev
env:
- LUA="lua=5.1"
- LUA="lua=5.2"
- LUA="lua=5.3"
- LUA="luajit=2.0"
- LUA="luajit=2.1"
matrix:
allow_failures:
- env: LUA="lua=5.3"
before_install:
- pip install hererocks
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin
install:
- luarocks install luacheck
- luarocks install busted
- luarocks install luacov
- luarocks install luacov-coveralls
- luarocks make rockspec/*-master-1.rockspec
- luarocks install luasec # for tests
script:
- luacheck --std min+busted src/copas/*.lua test/*.lua
- busted --verbose --coverage --pattern=test test
after_success:
- luacov-coveralls --exclude "test" --exclude "lua_install"
notifications:
recipients:
email:
on_success: change
on_failure: always