File: .travis.yml

package info (click to toggle)
lua-http 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 860 kB
  • ctags: 464
  • sloc: makefile: 59
file content (62 lines) | stat: -rw-r--r-- 1,585 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
language: python

sudo: false

env:
  matrix:
    - LUA="lua 5.1"
    - LUA="lua 5.1"    ZLIB=lzlib
    - LUA="lua 5.1"    ZLIB=lua-zlib
    - LUA="lua 5.2"
    - LUA="lua 5.2"    ZLIB=lzlib
    - LUA="lua 5.2"    ZLIB=lua-zlib
    - LUA="lua 5.3"
    - LUA="lua 5.3"    ZLIB=lzlib
    - LUA="lua 5.3"    ZLIB=lua-zlib
    - LUA="lua 5.3"    COMPAT53=no
    - LUA="luajit @"
    - LUA="luajit @"   ZLIB=lzlib
    - LUA="luajit @"   ZLIB=lua-zlib
    - LUA="luajit 2.0"
    - LUA="luajit 2.0" ZLIB=lzlib
    - LUA="luajit 2.0" ZLIB=lua-zlib
    - LUA="luajit 2.1"
    - LUA="luajit 2.1" ZLIB=lzlib
    - LUA="luajit 2.1" ZLIB=lua-zlib

branches:
  only:
    - master

before_install:
  - pip install hererocks
  - hererocks ~/hererocks -r^ --$LUA # Install latest LuaRocks version
                              # plus the Lua version for this build job
                              # into 'here' subdirectory
  - export PATH=$PATH:~/hererocks/bin # Add directory with all installed binaries to PATH
  - eval `luarocks path --bin`
  - luarocks install luacheck
  - luarocks install luacov-coveralls
  - luarocks install busted

install:
  - luarocks install --only-deps http-scm-0.rockspec
  - if [ "$ZLIB" = "lzlib" ]; then luarocks install lzlib; fi
  - if [ "$ZLIB" = "lua-zlib" ]; then luarocks install lua-zlib; fi
  - if [ "$COMPAT53" = "no" ]; then luarocks remove compat53; fi

script:
  - luacheck .
  - busted -c

after_success:
  - luacov-coveralls -v

notifications:
  email:
    on_success: change
    on_failure: always

cache:
  directories:
    - $HOME/.cache/hererocks