forked from nokia/kong-oidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (27 loc) · 882 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
# .travis.yaml
language: python
sudo: false
env:
- LUA="lua=5.1"
# - LUA="lua=5.2"
# - LUA="lua=5.3"
# - LUA="luajit=2.0"
# - LUA="luajit=2.1"
before_install:
- pip install hererocks
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin
install:
- luarocks install kong 0.11.2-0
- luarocks install lua-resty-openidc 1.4.0-1
- luarocks install luaunit
- luarocks install luacov-coveralls
script:
- lua -lluacov test/unit/test_filter.lua -o TAP --failure
- lua -lluacov test/unit/test_filters_advanced.lua -o TAP --failure
- lua -lluacov test/unit/test_utils.lua -o TAP --failure
- lua -lluacov test/unit/test_handler_mocking_openidc.lua --failure
- lua -lluacov test/unit/test_introspect.lua -o TAP --failure
- lua -lluacov test/unit/test_utils_bearer_access_token.lua -o TAP --failure
after_success:
- luacov-coveralls