-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
52 lines (43 loc) · 1.04 KB
/
.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
52
language: c
python:
- "2.7"
sudo: false
matrix:
include:
- compiler: ": Lua51"
env: LUA="lua 5.1"
- compiler: ": Lua52"
env: LUA="lua 5.2"
- compiler: ": Lua53"
env: LUA="lua 5.3"
- compiler: ": LuaJIT20"
env: LUA="luajit 2.0"
- compiler: ": LuaJIT21"
env: LUA="luajit 2.1"
cache:
directories:
- here
- $HOME/.cache/pip
branches:
only:
- master
before_install:
- export CC=gcc
- pip install --user hererocks
- hererocks here -r^ --$LUA
- export PATH=$PATH:$PWD/here/bin
- luarocks show lluv || bash .travis/setup_uv.sh
- luarocks show lluv || bash .travis/setup_openssl.sh
- luarocks show lluv || luarocks install lluv --server=http://rocks.moonscript.org/dev UV_DIR=$TRAVIS_BUILD_DIR/libuv
install:
- luarocks make rockspecs/lluv-ssl-scm-0.rockspec
script:
- cd test
- lua test.lua
- lua test_large_chunk.lua 65535
- lua test_large_chunk.lua 1048576
- lua test_large_chunk.lua 16777216
notifications:
email:
on_success: change
on_failure: always