-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
36 lines (31 loc) · 821 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
os: linux
dist: bionic
language: python
env:
global:
- LUACOV=cluacov
jobs:
- LUA="lua 5.1"
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="lua 5.4" LUACOV=luacov
- LUA="luajit 2.0"
- LUA="luajit 2.1"
before_install:
- pip install hererocks
- hererocks here -rlatest --$LUA
- export PATH=$PATH:$PWD/here/bin
- eval `luarocks path --bin`
- lua -v
install:
- echo 'Installing runtime dependencies...'
- luarocks install --only-deps $(find luarocks -name '*-scm-*.rockspec' | sort -g | tail -1)
- echo 'Installing additional testing dependencies...'
- luarocks install dromozoa-utf8
- luarocks install $LUACOV
- luarocks install busted
- luarocks install luacov-coveralls
script:
- timeout 120 busted -c
after_success:
- luacov-coveralls -i wcwidth/ -e spec/ -e here/