Browse Source

Testing travis OSX building

pull/81/head
Meeh 11 years ago
parent
commit
6475c522e0
  1. 15
      .travis.yml

15
.travis.yml

@ -1,16 +1,19 @@ @@ -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:

Loading…
Cancel
Save