File: .travis.yml

package info (click to toggle)
lua-json 1.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 652 kB
  • sloc: makefile: 67; php: 3
file content (64 lines) | stat: -rw-r--r-- 1,666 bytes parent folder | download
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
63
64
# Pull in python for access to pip for hererocks
language: python

sudo: false

branches:
    only:
        - master
        - next
        - 1.2.x
        - 1.1.x
        - 1.0.x

env:
    global:
        - LUAROCKS=2.4.2
    matrix:
        - LPEG=1.0.1-1 LUA="luajit 2.1"
        - LPEG=1.0.1-1 LUA="luajit 2.0"
        - LPEG=1.0.1-1 LUA="lua 5.3"
        - LPEG=1.0.1-1 LUA="lua 5.2"
        - LPEG=1.0.1-1 LUA="lua 5.1"
        - LPEG=0.12.2-1 LUA="luajit 2.1"
        - LPEG=0.12.2-1 LUA="luajit 2.0"
        - LPEG=0.12.2-1 LUA="lua 5.3"
        - LPEG=0.12.2-1 LUA="lua 5.2"
        - LPEG=0.12.2-1 LUA="lua 5.1"
        - LPEG=0.10.2-1 LUA="luajit 2.0"
        - LPEG=0.10.2-1 LUA="lua 5.2"
        - LPEG=0.10.2-1 LUA="lua 5.1"
        - LPEG=0.9-1 LUA="luajit 2.0"
        - LPEG=0.9-1 LUA="lua 5.1"
        - LPEG=0.8.1-1 LUA="luajit 2.0"
        - LPEG=0.8.1-1 LUA="lua 5.1"
        - LPEG=0.7-3 LUA="luajit 2.0"
        - LPEG=0.7-3 LUA="lua 5.1"

branches:
    only:
        - master
        - /^feature[/]/

before_install:
    - pip install hererocks
    - hererocks here -r $LUAROCKS --$LUA
    - export PATH=$(pwd)/here/bin:$PATH
    - luarocks install luacov
    - luarocks install lunitx
    - luarocks install luafilesystem
    - luarocks install lpeg $LPEG

script:
    - make LUA_BIN=lua LUNIT_BIN=lunit.sh LUA_INIT="require('luarocks.loader');require('luacov')" check

after_success:
    # Rework the stats file and generate
    - sed -e "s|../lua/|lua/|" < tests/luacov.stats.out > luacov.stats.out
    - luacov
    - bash <(curl -s https://codecov.io/bash)

notifications:
    email:
        on_success: change
        on_failure: always