apisix/.travis.yml

49 lines
778 B
YAML
Raw Normal View History

dist: bionic
2019-06-03 16:24:38 +08:00
sudo: required
matrix:
allow_failures:
- os: osx
include:
- os: osx
env: OSNAME=osx_openresty
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
language: c
2019-06-03 16:24:38 +08:00
addons:
apt:
packages:
- cpanminus
- build-essential
- libncurses5-dev
- libreadline-dev
- libssl-dev
- perl
- etcd
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