-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
51 lines (43 loc) · 908 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
48
49
50
51
sudo: false
language: c
arch:
- amd64
- ppc64le
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
- libtool-bin
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