11 Star 44 Fork 14

sumory / orange

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
panda 提交于 2019-06-29 17:14 . add ci
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
Lua
1
https://gitee.com/sumory/orange.git
git@gitee.com:sumory/orange.git
sumory
orange
orange
master

搜索帮助