Skip to content

Commit

Permalink
OSX and Linux build/test on Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmassay committed Jan 15, 2019
1 parent 703aad9 commit 73315ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ install:
script:
- mkdir build && cd build
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/ -DCMAKE_BUILD_TYPE=Release ../;
else
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../;
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/ -DCMAKE_BUILD_TYPE=Release ../;
else cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../;
fi
- make -j4

Expand Down

0 comments on commit 73315ba

Please sign in to comment.