integration with travis-ci

This commit is contained in:
scrrrapy 2016-01-14 01:16:18 +00:00
parent b152bb26e3
commit c533bfc83d
2 changed files with 35 additions and 4 deletions

31
.travis.yml Normal file
View File

@ -0,0 +1,31 @@
language: cpp
cache:
apt: true
os:
- linux
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-regex-dev
- libboost-system-dev
- libboost-thread-dev
- libminiupnpc-dev
- libssl-dev
compiler:
- gcc
env:
matrix:
- BUILD_TYPE=Release UPNP=ON
- BUILD_TYPE=Release UPNP=OFF
script:
- cd build && cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_UPNP=${UPNP} && make

View File

@ -28,7 +28,7 @@ http://download.i2p.io/purplei2p/i2pd/releases/
Supported OS Supported OS
------------ ------------
* Linux x86/x64 - Proved working. * Linux x86/x64 - [![Build Status](https://travis-ci.org/purplei2p/i2pd.svg?branch=master)](https://travis-ci.org/purplei2p/i2pd)
* Mac OS X - Not well tested. (Only works with clang, not GCC) * Mac OS X - Not well tested. (Only works with clang, not GCC)
* Windows - [![Build status](https://ci.appveyor.com/api/projects/status/1908qe4p48ff1x23?svg=true)](https://ci.appveyor.com/project/PurpleI2P/i2pd) * Windows - [![Build status](https://ci.appveyor.com/api/projects/status/1908qe4p48ff1x23?svg=true)](https://ci.appveyor.com/project/PurpleI2P/i2pd)