forked from OpenIDC/liboauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (47 loc) · 2.08 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
53
54
55
56
57
dist: bionic
language: c
addons:
apt:
packages:
- libssl-dev
- libcurl4-openssl-dev
- libjansson-dev
- libhiredis-dev
- apache2-dev
- check
- memcached
- redis-server
arch:
- amd64,
- ppc64le
- arm64
- arm64-graviton2
- s390x
os: linux
env:
CJOSE_VERSION=0.6.1.5
NGINX_VERSION=1.14.0
services:
- memcached
- redis-server
install:
- wget https://github.com/zmartzone/cjose/archive/refs/tags/v${CJOSE_VERSION}.tar.gz
- tar zxvf v${CJOSE_VERSION}.tar.gz
- cd cjose-${CJOSE_VERSION}
- ./configure --prefix=/usr
- make test || cat test/test-suite.log
- sudo make install
- cd -
- wget https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
- tar zxvf nginx-${NGINX_VERSION}.tar.gz
- ln -s nginx-${NGINX_VERSION} nginx
- cd nginx
- ./configure --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-H4cN7P/nginx-${NGINX_VERSION}=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_sub_module --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module
- cd -
before_script:
- ./autogen.sh
- ./configure --with-nginx=${TRAVIS_BUILD_DIR}/nginx
script:
- make test
after_script:
- cat test-suite.log