File: .travis.yml

package info (click to toggle)
libmpack-lua 1.0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 160 kB
  • sloc: ansic: 902; makefile: 117
file content (46 lines) | stat: -rw-r--r-- 861 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
sudo: false
language: c

env:
  global:
    - VERBOSE=1
  matrix:
    - MPACK_LUA_VERSION=5.1.5
    - MPACK_LUA_VERSION=5.2.4
    - MPACK_LUA_VERSION=5.3.3

addons:
  apt:
    packages:
      - valgrind
      - liblua5.1-0-dev

matrix:
  include:
    - os: linux
      env: USE_SYSTEM_LUA=1
      script:
        - make ci-test

    - os: linux
      env: USE_SYSTEM_LUA=1 USE_SYSTEM_MPACK=1
      script:
        - export PREFIX=$(pwd)/mpack-src/usr
        - export LD_LIBRARY_PATH=${PREFIX}/lib
        - export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
        - make mpack-src
        - make -C mpack-src config=release install
        - make ci-test
        - ldd -d mpack.so | grep -q ${PREFIX}/lib/libmpack

script:
  make ci-test

cache:
  directories:
    - .deps/5.1.5/usr
    - .deps/5.2.4/usr
    - .deps/5.3.3/usr

after_failure:
  cat valgrind.log