-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (37 loc) · 1021 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
language: c
dist: xenial
sudo: required
matrix:
include:
- name: Linux (gcc-8)
os: linux
compiler: gcc-8
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['gcc-8']
before_install: &bs_linux
- sudo apt-get install faketime libscope-guard-perl libtest-tcp-perl
- name: Linux (clang)
os: linux
compiler: clang
before_install: *bs_linux
- name: macOS (Xcode)
os: osx
env:
- CMAKE_OPTS=" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/"
before_install: &bs_macos
- curl -L https://cpanmin.us | sudo perl - App::cpanminus
- sudo cpanm --notest Scope::Guard
- sudo cpanm --notest Test::TCP
- brew install libfaketime
- name: macOS (Xcode 10.1/clang-10)
os: osx
osx_image: xcode10.1
env:
- CMAKE_OPTS=" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/"
before_install: *bs_macos
script:
- cmake ${CMAKE_OPTS} .
- make all
- make check