i2pd/.travis.yml

73 lines
1.6 KiB
YAML

# Travis file for i2pd
# Documentation:
# - http://docs.travis-ci.com/user/build-configuration/#The-Build-Matrix
# - http://blog.travis-ci.com/2014-05-13-multi-os-feature-available/
os:
- linux
language:
- cpp
compiler:
- gcc
cache:
- apt
branches:
only:
- master
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # GCC 4.7
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ quantal main universe" # Boost 1.50
- sudo apt-get update -qq
- sudo apt-get install -qq libboost1.50-all-dev libcrypto++9 libcrypto++-dev
script:
- make
notifications:
email:
recipients:
- meeh@sigterm.no
on_success: change
on_failure: always
irc:
channels:
- "irc.freenode.net#i2p-dev"
template:
- "%{repository}/%{branch} [linux] (%{commit} - %{author}): %{message}"
on_failure: always
on_success: change
---
# OSX Notes
# To force build against OSX, set the language to objective-c as well acording to
# this issue: https://github.com/biocore/scikit-bio/issues/184#issuecomment-37843764
# Since this is a seperate section, it shouldn't stop the linux build.
# See the head links as well for more information.
os:
- osx
language:
- objective-c
- cpp
compiler:
- clang
branches:
only:
- master
install:
- brew doctor;brew install boost cryptopp
script:
- make -f Makefile.osx
notifications:
email:
recipients:
- meeh@sigterm.no
on_success: change
on_failure: always
irc:
channels:
- "irc.freenode.net#i2p-dev"
template:
- "%{repository}/%{branch} [osx] (%{commit} - %{author}): %{message}"
on_failure: always
on_success: change