-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 954 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
os:
- linux
- osx
env:
- env: MODE=regular
- env: MODE=disable-set
- env: MODE=mini
- env: MODE=minimalist
- env: MODE=read-only
addons:
apt:
packages:
- dpkg
- gcc
- libatm-dev
- libperl-dev
- libsensors4-dev
- libssh-dev
- libssl-dev
- make
- perl-modules
- pkg-config
- python-dev
- python-setuptools
sudo: required
before_script:
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- 'if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo sh -c ''echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6; printf "\n::1 localhost ipv6-localhost ipv6-loopback\n" >>/etc/hosts; cat /etc/hosts''; fi'
# Upgrade openssl such that Net-SNMP can be built with Blumenthal AES support.
- 'if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew upgrade openssl >/dev/null 2>&1; fi'
script: ci/build.sh