-
Notifications
You must be signed in to change notification settings - Fork 117
/
.travis.yml
43 lines (41 loc) · 1.18 KB
/
.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
language: c
cache: ccache
env:
global:
- MAKEFLAGS="-j 2"
matrix:
include:
- os: linux
dist: bionic
sudo: required
env:
- label=linux/x86-64
before_install:
- sudo apt-get install libjson-perl libscope-guard-perl libtest-tcp-perl
script:
- cmake -DWITH_DTRACE=OFF .
- make && make check
- os: osx
osx_image: xcode6.4
env:
- label=osx10.10/x86-64-dtrace
before_install: &bs_osx
- curl -L https://cpanmin.us | perl - --self-upgrade --sudo
- cpanm --sudo --installdeps --notest .
script:
- cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .
- make && make check
- os: osx
env:
- label=osx10.13/i386
before_install: *bs_osx
script:
- curl -O https://www.openssl.org/source/old/1.1.0/openssl-1.1.0i.tar.gz
- tar -xf openssl-1.1.0i.tar.gz
- cd openssl-1.1.0i
- KERNEL_BITS=32 ./config --prefix=$HOME/openssl-build
- make
- make install
- cd ..
- cmake -DCMAKE_C_FLAGS=-m32 -DOPENSSL_ROOT_DIR=$HOME/openssl-build -DWITH_DTRACE=OFF -DWITH_FUSION=OFF .
- make && make check