|
|
@ -1,16 +1,19 @@ |
|
|
|
language: cpp |
|
|
|
language: cpp |
|
|
|
compiler: gcc |
|
|
|
compiler: gcc |
|
|
|
cache: apt |
|
|
|
os: |
|
|
|
|
|
|
|
- linux |
|
|
|
|
|
|
|
- osx |
|
|
|
branches: |
|
|
|
branches: |
|
|
|
only: |
|
|
|
only: |
|
|
|
- master |
|
|
|
- master |
|
|
|
before_install: |
|
|
|
before_install: |
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test # GCC 4.7 |
|
|
|
- if [[ "$os" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi # GCC 4.7 |
|
|
|
- sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ quantal main universe" # Boost 1.50 |
|
|
|
- if [[ "$os" == "linux" ]]; then sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ quantal main universe"; fi # Boost 1.50 |
|
|
|
- sudo apt-get update -qq |
|
|
|
- if [[ "$os" == "linux" ]]; then sudo apt-get update -qq; fi |
|
|
|
- sudo apt-get install -qq libboost1.50-all-dev libcrypto++9 libcrypto++-dev |
|
|
|
- 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 |
|
|
|
script: |
|
|
|
script: |
|
|
|
- make |
|
|
|
- if [[ "$os" == "osx" ]]; then make -f Makefile.osx; else; make; fi |
|
|
|
notifications: |
|
|
|
notifications: |
|
|
|
email: |
|
|
|
email: |
|
|
|
recipients: |
|
|
|
recipients: |
|
|
|