testing g++ build [2]

This commit is contained in:
R4SAS 2017-11-17 10:53:17 +03:00
parent 18b4fe0b45
commit 68b01224c0
2 changed files with 6 additions and 5 deletions

View file

@ -7,7 +7,7 @@ os:
# - linux # - linux
- osx - osx
sudo: required sudo: required
dist: stretch dist: xenial
addons: addons:
apt: apt:
packages: packages:
@ -29,7 +29,6 @@ compiler:
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 libressl miniupnpc && brew upgrade boost ; 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: env:
matrix: matrix:
- BUILD_TYPE=Release UPNP=ON - BUILD_TYPE=Release UPNP=ON

View file

@ -1,4 +1,6 @@
#CXX = clang++ ifndef TRAVIS_OS_NAME
CXX = clang++
endif
CXXFLAGS = -Os -Wall -std=c++11 -DMAC_OSX CXXFLAGS = -Os -Wall -std=c++11 -DMAC_OSX
#CXXFLAGS = -g -O2 -Wall -std=c++11 #CXXFLAGS = -g -O2 -Wall -std=c++11
INCFLAGS = -I/usr/local/include INCFLAGS = -I/usr/local/include