Skip to content

Commit

Permalink
Trying the multi section setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
meeh420 committed Jul 14, 2014
1 parent da1c31c commit 3957717
Showing 1 changed file with 39 additions and 11 deletions.
50 changes: 39 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
# Documentation:
# - http://docs.travis-ci.com/user/build-configuration/#The-Build-Matrix
# - http://blog.travis-ci.com/2014-05-13-multi-os-feature-available/
language: cpp
compiler: gcc
os:
- linux
- osx
language:
- cpp
compiler:
- gcc
branches:
only:
- master
before_script:
- 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
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:
- if [[ "$os" == "osx" ]]; then make -f Makefile.osx; else; make; fi
- make
notifications:
email:
recipients:
Expand All @@ -28,8 +28,36 @@ notifications:
channels:
- "irc.freenode.net#i2p-dev"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
- "%{repository}/%{branch} [linux] (%{commit} - %{author}): %{message}"
on_failure: always
on_success: change

---

os:
- osx
language:
- 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

0 comments on commit 3957717

Please sign in to comment.