-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 904 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
35
36
37
38
39
40
41
42
43
44
45
46
47
sudo: false
notifications:
email: false
addons:
apt:
packages:
- sed
- net-tools
- uuid-dev
- libpcre3-dev
- build-essential
env:
global:
- LUA=luajit-2.1
- LUAROCKS=2.3.0
- OPENRESTY=1.9.3.1
- CASSANDRA=2.2.4
- OPENSSL=1.0.2f
- SERF=0.7.0
- DNSMASQ=2.75
- CASSANDRA_HOSTS=127.0.0.1
matrix:
- TEST_SUITE=unit
- TEST_SUITE=integration
- TEST_SUITE=plugins
before_install:
- source .ci/setenv_kong.sh
- bash .ci/setup_cassandra.sh
install:
- luarocks install busted
- luarocks install luacov-coveralls
- luarocks install luacheck
- luarocks make kong-*.rockspec
- "kong config -c kong.yml -e TEST"
script:
- make lint
- .ci/run_tests.sh
cache:
apt: true
pip: true
directories:
- $LUA_DIR
- $SERF_DIR
- $DNSMASQ_DIR
- $LUAROCKS_DIR
- $OPENRESTY_DIR
- $HOME/.ccm/repository