From 6475c522e08c2bbafd6eb00b0a550ed91ca7ceee Mon Sep 17 00:00:00 2001 From: Meeh Date: Mon, 14 Jul 2014 06:12:19 +0200 Subject: [PATCH] Testing travis OSX building --- .travis.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a00511cd..aba1e0ed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: