1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-27 21:34:17 +00:00

Testing travis OSX building

This commit is contained in:
Meeh 2014-07-14 06:12:19 +02:00
parent aaf53ad862
commit 6475c522e0

View File

@ -1,16 +1,19 @@
language: cpp
compiler: gcc
cache: apt
os:
- linux
- osx
branches:
only:
- master
before_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
- 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
script:
- make
- if [[ "$os" == "osx" ]]; then make -f Makefile.osx; else; make; fi
notifications:
email:
recipients: