File: .travis.yml

package info (click to toggle)
lua-nginx-dns 0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 196 kB
  • sloc: perl: 243; makefile: 14
file content (43 lines) | stat: -rw-r--r-- 1,101 bytes parent folder | download
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
sudo: required
dist: trusty

os: linux

language: c

compiler:
  - gcc

addons:
  apt:
    packages:
    - axel
    - cpanminus
    - libluajit-5.1-dev

cache:
  apt: true
  directories:
  - download-cache

env:
  global:
    - NGINX_VERSION=1.9.15
    - JOBS=3
    - TEST_NGINX_SLEEP=0.006
    - LUA_DEV=libluajit-5.1-dev LUA_INCLUDE_DIR=/usr/include/luajit-2.0 LUALIB=-lluajit-5.1
  matrix:
    - NGINX_VERSION=1.9.15
    - NGINX_VERSION=1.11.2

install:
    - sudo cpanm --notest Test::Nginx > build.log 2>&1 || (cat build.log && exit 1)
    - git clone https://github.com/openresty/openresty.git ../openresty
    - git clone https://github.com/openresty/lua-nginx-module.git ../lua-nginx-module
    - git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx
    - git clone https://github.com/openresty/nginx-devel-utils.git

script:
  - export PATH=$PWD/work/nginx/sbin:$PWD/nginx-devel-utils:$PATH
  - ngx-build $NGINX_VERSION --with-debug --with-cc-opt="-DDEBUG_MALLOC" --with-ipv6 --add-module=../lua-nginx-module  > build.log 2>&1 || (cat build.log && exit 1)
  - prove -r t