summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/luv/.travis.yml
blob: b6909b894cc88c67f335a8c5afc68c9e0c4d370c (plain) (blame)
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
language: c
sudo: false

addons:
  apt:
    sources:
    - kalakris-cmake
    packages:
    - cmake

env:
  global:
    - LUAROCKS=2.3.0
  matrix:
    - WITH_LUA_ENGINE=Lua LUA=lua5.3
    - WITH_LUA_ENGINE=LuaJIT LUA=luajit2.1
    - PROCESS_CLEANUP_TEST=1 LUA=lua5.2

os:
  - linux
  - osx

before_install:
  - git submodule update --init --recursive
  - git submodule update --recursive

script:
  - if [ "x$PROCESS_CLEANUP_TEST" = "x" ]; then make && make test; else ./tests/test-sigchld-after-lua_close.sh; fi
  # Test rock installation
  - source .ci/setenv_lua.sh
  - luarocks make
  - test $PWD = `lua -e "print(require'luv'.cwd())"`

notifications:
  email: true
  irc: "irc.freenode.org#luvit"