2014-07-14 06:19:57 +02:00
|
|
|
# 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/
|
2014-04-03 17:30:29 +02:00
|
|
|
language: cpp
|
2014-04-03 18:20:17 +02:00
|
|
|
compiler: gcc
|
2014-07-14 06:12:19 +02:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2014-04-03 17:30:29 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2014-07-14 06:19:57 +02:00
|
|
|
before_script:
|
2014-07-14 06:12:19 +02:00
|
|
|
- if [[ "$os" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi # GCC 4.7
|
|
|
|
- if [[ "$os" == "linux" ]]; then sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ quantal main universe"; fi # Boost 1.50
|
|
|
|
- if [[ "$os" == "linux" ]]; then sudo apt-get update -qq; fi
|
|
|
|
- if [[ "$os" == "linux" ]]; then sudo apt-get install -qq libboost1.50-all-dev libcrypto++9 libcrypto++-dev; fi
|
|
|
|
- if [[ "$os" == "osx" ]]; then brew doctor;brew install boost cryptopp; fi
|
2014-04-03 17:30:29 +02:00
|
|
|
script:
|
2014-07-14 06:12:19 +02:00
|
|
|
- if [[ "$os" == "osx" ]]; then make -f Makefile.osx; else; make; fi
|
2014-04-03 17:30:29 +02:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- meeh@sigterm.no
|
|
|
|
on_success: change
|
2014-04-03 18:15:44 +02:00
|
|
|
on_failure: always
|
2014-04-03 17:30:29 +02:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.net#i2p-dev"
|
|
|
|
template:
|
|
|
|
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
|
2014-04-03 18:15:44 +02:00
|
|
|
on_failure: always
|
2014-04-03 17:30:29 +02:00
|
|
|
on_success: change
|
|
|
|
|
|
|
|
|