apisix/.travis.yml

48 lines
819 B
YAML
Raw Normal View History

2019-06-03 16:24:38 +08:00
dist: xenial
sudo: required
matrix:
fast_finish: true
include:
- os: linux
- os: osx
if: type IN (push)
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
- libpcre3-dev
- libreadline-dev
- libssl-dev
- perl
- etcd
- luarocks
- cmake
2019-06-11 09:38:00 +08:00
- lua-check
homebrew:
update: true
2019-06-03 16:24:38 +08:00
before_cache:
- brew cleanup
2019-06-03 16:24:38 +08:00
before_install:
2019-07-10 22:23:27 +08:00
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh before_install
2019-06-03 16:24:38 +08:00
install:
2019-07-10 22:23:27 +08:00
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh do_install
2019-06-03 16:24:38 +08:00
script:
2019-07-10 22:23:27 +08:00
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh script
after_success:
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh after_success