mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-02 20:17:35 +08:00
ccd179a936
* travis: specified language. * test: added test cases for `core.table`.
48 lines
819 B
YAML
48 lines
819 B
YAML
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
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- cpanminus
|
|
- build-essential
|
|
- libncurses5-dev
|
|
- libpcre3-dev
|
|
- libreadline-dev
|
|
- libssl-dev
|
|
- perl
|
|
- etcd
|
|
- luarocks
|
|
- cmake
|
|
- lua-check
|
|
homebrew:
|
|
update: true
|
|
|
|
before_cache:
|
|
- brew cleanup
|
|
|
|
before_install:
|
|
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh before_install
|
|
|
|
install:
|
|
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh do_install
|
|
|
|
script:
|
|
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh script
|
|
|
|
after_success:
|
|
- $PWD/.travis/${TRAVIS_OS_NAME}_runner.sh after_success
|