代码拉取完成,页面将自动刷新
os: linux
dist: xenial
sudo: required
addons:
apt:
packages:
- cpanminus
- build-essential
- libncurses5-dev
- libpcre3-dev
- libreadline-dev
- libssl-dev
- perl
- etcd
- luarocks
- cmake
- lua-check
env:
global:
- OPENRESTY_PREFIX=/usr/local/openresty-debug
before_install:
- sudo cpanm --notest Test::Nginx IPC::Run > build.log 2>&1 || (cat build.log && exit 1)
install:
- wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
- sudo apt-get -y install software-properties-common
- sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main"
- sudo apt-get update
- sudo apt-get install openresty-debug
- sudo opm --install-dir=./ get zhangbao0325/orangelib
- sudo luarocks install luafilesystem
- sudo luarocks install luasocket
- sudo cd cd conf
- sudo cp orange.conf.example orange.conf
- sudo cp nginx.conf.example nginx.conf
- git clone https://github.com/openresty/test-nginx.git test-nginx
script:
- sudo service etcd start
- sudo orange start
- export PATH=$OPENRESTY_PREFIX/nginx/sbin:$OPENRESTY_PREFIX/luajit/bin:$PATH
- make check || exit 1
- prove -Itest-nginx/lib -r t
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。