blob: fa5a42360fc7664b80bf56416629d76b1dbb167f (
plain)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
language: python
cache:
directories:
- lua_install
- test/testing_cache-5.1
- test/testing_cache-5.2
- test/testing_cache-5.3
- test/testing_cache-2.0
- test/testing_cache-2.1
- test/testing_server-5.1
- test/testing_server-5.2
- test/testing_server-5.3
- test/testing_server-2.0
- test/testing_server-2.1
matrix:
include:
- os: linux
env:
- LUA="lua=5.1"
- os: linux
env:
- LUA="lua=5.2"
- os: linux
env:
- LUA="lua=5.3"
- os: linux
env:
- LUA="luajit=2.0"
- os: linux
env:
- LUA="luajit=2.1"
- os: osx
language: generic
env:
- LUA="lua=5.1"
- os: osx
language: generic
env:
- LUA="lua=5.2"
- os: osx
language: generic
env:
- LUA="lua=5.3"
- os: osx
language: generic
env:
- LUA="luajit=2.0"
- os: osx
language: generic
env:
- LUA="luajit=2.1"
before_install:
- if [ ! -f lua_install/bin/luarocks ]; then pip2 install hererocks; fi
- if [ ! -f lua_install/bin/luarocks ]; then hererocks lua_install -r^ --$LUA; fi
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
install:
- if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi
- if [ ! -f lua_install/bin/luacov ]; then luarocks install cluacov; fi
script:
- lua -v
- ./configure --with-lua=lua_install
- ./makedist scm
- busted -o gtest --verbose -Xhelper travis
- busted -o gtest --verbose -Xhelper travis,env=full
after_success:
- luacov -c $TRAVIS_BUILD_DIR/test/luacov.config
- cd $TRAVIS_BUILD_DIR/test/ && bash <(curl -s https://codecov.io/bash)
- grep "Summary" -B1 -A1000 $TRAVIS_BUILD_DIR/test/luacov.report.out
notifications:
email:
on_success: change
on_failure: change
webhooks:
urls:
- https://webhooks.gitter.im/e/3320fc3f28abbb06e1d8
on_success: change
on_failure: always
on_start: never
|