i2pd/.travis.yml

37 lines
874 B
YAML
Raw Normal View History

2016-01-14 01:16:18 +00:00
language: cpp
cache:
apt: true
os:
- linux
2016-03-29 13:09:40 +00:00
- osx
2016-01-14 01:16:18 +00:00
sudo: required
dist: trusty
addons:
apt:
packages:
- build-essential
- cmake
- g++
- clang
- libboost-chrono-dev
- libboost-date-time-dev
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-system-dev
- libboost-thread-dev
- libminiupnpc-dev
- libssl-dev
compiler:
- gcc
2016-03-29 13:09:40 +00:00
- clang
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl miniupnpc ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink boost openssl && brew link boost openssl -f ; fi
2016-01-14 01:16:18 +00:00
env:
matrix:
2016-06-24 19:29:36 +00:00
# - BUILD_TYPE=Release UPNP=ON
2016-01-14 01:16:18 +00:00
- BUILD_TYPE=Release UPNP=OFF
script:
- cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make