forked from fluent/fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 916 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
language: c
compiler:
- gcc
- clang
os:
- linux
- osx
env:
- FLB_MEM="-DFLB_JEMALLOC=On"
- FLB_MEM="-DFLB_JEMALLOC=Off"
notifications:
irc: "irc.freenode.net#fluent-bit"
before_script:
# Install Toolchain for ksz9692 (ARM)
- if [ $TRAVIS_OS_NAME == linux ]; then if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes gcc-multilib > /dev/null; fi; fi
- if [ $TRAVIS_OS_NAME == linux ]; then wget http://fluentbit.io/ci-toolchains/ksz9692.tar.gz -O /tmp/ksz9692.tar.gz; fi
- if [ $TRAVIS_OS_NAME == linux ]; then tar -xf /tmp/ksz9692.tar.gz; fi
- if [ $TRAVIS_OS_NAME == linux ]; then export PATH=$PATH:$PWD/ksz9692/bin/; fi
# Unpack the sources
- cd build
- cmake -DFLB_ALL=On -DFLB_WITHOUT_EXAMPLES=On $FLB_FLUSH $FLB_MEM ../
matrix:
exclude:
- os: osx
env: FLB_MEM="-DFLB_JEMALLOC=On"
- os: osx
env: FLB_MEM="-DFLB_JEMALLOC=Off"
script: make