fix brew commands, change comiler

This commit is contained in:
R4SAS 2017-11-17 10:19:02 +03:00
parent b0b16c942e
commit b74aa71957

View file

@ -5,7 +5,7 @@ os:
- linux - linux
- osx - osx
sudo: required sudo: required
dist: trusty dist: stretch
addons: addons:
apt: apt:
packages: packages:
@ -22,11 +22,11 @@ addons:
- libminiupnpc-dev - libminiupnpc-dev
- libssl-dev - libssl-dev
compiler: compiler:
- gcc - g++
- clang - clang++
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install boost libressl miniupnpc ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libressl miniupnpc && brew upgrade boost ; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink boost openssl && brew link boost openssl -f ; fi # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink boost openssl && brew link boost openssl -f ; fi
env: env:
matrix: matrix: