Merge pull request #379 from vgough/travis-osx

switch to osx_image xcode8.3
This commit is contained in:
Valient Gough 2017-08-09 00:30:27 -04:00 committed by GitHub
commit 5682ade36d
2 changed files with 7 additions and 13 deletions

View File

@ -1,21 +1,15 @@
dist: trusty
language: cpp language: cpp
sudo: true sudo: true
os:
- linux
- osx
compiler:
- clang
- gcc
matrix: matrix:
exclude: include:
- os: osx - os: linux
compiler: gcc compiler: gcc
dist: trusty
- os: osx
compiler: clang
osx_image: xcode8.3
branches: branches:
only: only:

View File

@ -2,4 +2,4 @@
# After running, chdir to the build subdir ane run "make" # After running, chdir to the build subdir ane run "make"
mkdir build mkdir build
cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DLINT=ON \ cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DLINT=ON \
-DCMAKE_CXX_FLAGS="-O1 -fsanitize=address -fno-omit-frame-pointer" $@ -DCMAKE_CXX_FLAGS="-O0 -g -fsanitize=address -fno-omit-frame-pointer" $@