From b74aa719570937ce5b66a99e62638d6104a671f9 Mon Sep 17 00:00:00 2001
From: R4SAS <r4sas@i2pmail.org>
Date: Fri, 17 Nov 2017 10:19:02 +0300
Subject: [PATCH] fix brew commands, change comiler

---
 .travis.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3ba55d87..e9112bff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,7 @@ os:
   - linux
   - osx
 sudo: required
-dist: trusty
+dist: stretch
 addons:
   apt:
     packages:
@@ -22,11 +22,11 @@ addons:
       - libminiupnpc-dev
       - libssl-dev
 compiler:
-  - gcc
-  - clang
+  - g++
+  - clang++
 before_install:
   - 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
 env:
   matrix: