mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-13 15:27:52 +00:00
Testing travis OSX building
This commit is contained in:
parent
aaf53ad862
commit
6475c522e0
15
.travis.yml
15
.travis.yml
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user