forked from apache/apisix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (45 loc) · 910 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
services:
- redis-server
cache:
directories:
- build-cache
before_cache:
- brew cleanup
before_install:
- echo $TRAVIS_OS_NAME
- $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