mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 12:07:35 +08:00
7440192f8f
If the Luarocks version is lower than "v2.4.3", it does not support the "--only-deps" parameter. Even if we set the "--only-deps" parameter, no error message will be given during runtime. We only wanted to install the dependencies in the deps directory, but the APISIX was also installed so that the test case might load the wrong version of the source code.
63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
dist: xenial
|
|
sudo: required
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
services:
|
|
- docker
|
|
env: OSNAME=linux_openresty
|
|
- os: osx
|
|
env: OSNAME=osx_openresty
|
|
cache:
|
|
directories:
|
|
- $HOME/Library/Caches/Homebrew
|
|
- /usr/local/Homebrew
|
|
- os: linux
|
|
services:
|
|
- docker
|
|
env: OSNAME=linux_tengine
|
|
- os: linux
|
|
services:
|
|
- docker
|
|
env: OSNAME=linux_apisix_master_luarocks
|
|
- os: linux
|
|
services:
|
|
- docker
|
|
env: OSNAME=linux_apisix_current_luarocks
|
|
|
|
language: c
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- cpanminus
|
|
- build-essential
|
|
- libncurses5-dev
|
|
- libreadline-dev
|
|
- libssl-dev
|
|
- perl
|
|
- etcd
|
|
homebrew:
|
|
update: true
|
|
|
|
cache:
|
|
directories:
|
|
- build-cache
|
|
|
|
before_cache:
|
|
- brew cleanup
|
|
|
|
before_install:
|
|
- echo $OSNAME
|
|
- $PWD/.travis/${OSNAME}_runner.sh before_install
|
|
|
|
install:
|
|
- $PWD/.travis/${OSNAME}_runner.sh do_install
|
|
|
|
script:
|
|
- $PWD/.travis/${OSNAME}_runner.sh script
|
|
|
|
after_success:
|
|
- $PWD/.travis/${OSNAME}_runner.sh after_success
|