apisix/.travis.yml

70 lines
1.2 KiB
YAML
Raw Normal View History

2019-06-03 16:24:38 +08:00
dist: xenial
sudo: required
matrix:
fast_finish: true
allow_failures:
- os: osx
include:
- os: linux
services:
- docker
env: OSNAME=linux_openresty
- os: osx
env: OSNAME=osx_openresty
if: type IN (push)
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
2019-06-03 16:24:38 +08:00
addons:
apt:
packages:
- cpanminus
- build-essential
- libncurses5-dev
- libreadline-dev
- libssl-dev
- perl
- etcd
- luarocks
2019-06-11 09:38:00 +08:00
- lua-check
homebrew:
update: true
2019-06-03 16:24:38 +08:00
cache:
directories:
- build-cache
before_cache:
- brew cleanup
2019-06-03 16:24:38 +08:00
before_install:
- echo $OSNAME
- $PWD/.travis/${OSNAME}_runner.sh before_install
2019-06-03 16:24:38 +08:00
install:
- $PWD/.travis/${OSNAME}_runner.sh do_install
2019-06-03 16:24:38 +08:00
script:
- $PWD/.travis/${OSNAME}_runner.sh script
after_success:
- $PWD/.travis/${OSNAME}_runner.sh after_success