forked from kernelsauce/turbo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 965 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
language: c
env:
global:
- LUAROCKS=2.3.0
- TURBO_LIBTFFI=./libtffi_wrap.so
matrix:
- LUA=luajit LUASOCKET=no # latest stable version (2.0.4)
- LUA=luajit LUASOCKET=yes # latest stable version using luasocket (2.0.4)
- LUA=luajit2.0 # current head of 2.0 branch
- LUA=luajit2.1 # current head of 2.1 branch
before_install:
- source .travis/setenv_lua.sh
- sudo apt-get install valgrind
install:
- luarocks install busted
- if [[ $LUASOCKET == "yes" ]]; then luarocks install luasocket; fi
- if [[ $LUASOCKET == "yes" ]]; then luarocks install luafilesystem; fi
- if [[ $LUASOCKET == "yes" ]]; then luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu OPENSSL_INCDIR=/usr/include; fi
- make
script:
- if [[ $LUASOCKET == "yes" ]]; then export TURBO_USE_LUASOCKET=1; fi
- lua -e "print(require'turbo'.VERSION)"
- make test
notifications:
email:
on_success: change
on_failure: always