i2pd/.travis.yml

32 lines
980 B
YAML
Raw Normal View History

2014-04-03 19:30:29 +04:00
language: cpp
2014-04-03 20:20:17 +04:00
compiler: gcc
2014-07-14 08:12:19 +04:00
os:
- linux
- osx
2014-04-03 19:30:29 +04:00
branches:
only:
- master
before_install:
2014-07-14 08:12:19 +04: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 19:30:29 +04:00
script:
2014-07-14 08:12:19 +04:00
- if [[ "$os" == "osx" ]]; then make -f Makefile.osx; else; make; fi
2014-04-03 19:30:29 +04:00
notifications:
email:
recipients:
- meeh@sigterm.no
on_success: change
2014-04-03 20:15:44 +04:00
on_failure: always
2014-04-03 19:30:29 +04:00
irc:
channels:
- "irc.freenode.net#i2p-dev"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
2014-04-03 20:15:44 +04:00
on_failure: always
2014-04-03 19:30:29 +04:00
on_success: change