message: Only test MACSOS for PR
diff: @@ -81,21 +81,27 @@ jobs:
  env:
  - TEST="Xcode Check"
  script:
  - - mkdir build
  - - cd build
  - - CXX=clang++ CC=clang cmake -G Xcode -DRINGMESH_WITH_GRAPHICS:BOOL=OFF -DRINGMESH_WITH_UTILITIES:BOOL=ON -DRINGMESH_WITH_TESTS:BOOL=ON -DRINGMESH_WITH_TUTORIALS:BOOL=ON ..
  - - cmake --build . --config Debug
  - - ctest -C Debug --output-on-failure -j2
  + - |
  + if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
  + mkdir build
  + cd build
  + CXX=clang++ CC=clang cmake -G Xcode -DRINGMESH_WITH_GRAPHICS:BOOL=OFF -DRINGMESH_WITH_UTILITIES:BOOL=ON -DRINGMESH_WITH_TESTS:BOOL=ON -DRINGMESH_WITH_TUTORIALS:BOOL=ON ..
  + cmake --build . --config Debug
  + ctest -C Debug --output-on-failure -j2
  + fi
  - stage: compile and test
  os: osx
  env:
  - TEST="Unix Makefile Check"
  script:
  - - mkdir build
  - - cd build
  - - CXX=clang++ CC=clang cmake -DRINGMESH_WITH_GRAPHICS:BOOL=OFF -DRINGMESH_WITH_UTILITIES:BOOL=ON -DRINGMESH_WITH_TESTS:BOOL=ON -DRINGMESH_WITH_TUTORIALS:BOOL=ON ..
  - - cd Debug
  - - cmake --build . -- -j2
  - - ctest --output-on-failure -j2
  + - |
  + if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
  + mkdir build
  + cd build
  + CXX=clang++ CC=clang cmake -DRINGMESH_WITH_GRAPHICS:BOOL=OFF -DRINGMESH_WITH_UTILITIES:BOOL=ON -DRINGMESH_WITH_TESTS:BOOL=ON -DRINGMESH_WITH_TUTORIALS:BOOL=ON ..
  + cd Debug
  + cmake --build . -- -j2
  + ctest --output-on-failure -j2
  + fi
  