diff --git a/.travis.yml b/.travis.yml index dc0405142..5d8e5fa8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,15 +92,15 @@ matrix: # compiler: clang # env: COMPILER='clang++' BUILD_TYPE='Release' BUILD_SHARED_LIBS=ON - #- os: osx - # osx_image: xcode7 - # compiler: clang - # env: COMPILER='clang++' BUILD_TYPE='Debug' + - os: osx + osx_image: xcode7 + compiler: clang + env: COMPILER='clang++' BUILD_TYPE='Debug' - #- os: osx - # osx_image: xcode7 - # compiler: clang - # env: COMPILER='clang++' BUILD_TYPE='Release' + - os: osx + osx_image: xcode7 + compiler: clang + env: COMPILER='clang++' BUILD_TYPE='Release' #- os: osx # osx_image: xcode7 diff --git a/features/step_definitions/hooks.rb b/features/step_definitions/hooks.rb new file mode 100644 index 000000000..2ad821a9a --- /dev/null +++ b/features/step_definitions/hooks.rb @@ -0,0 +1,11 @@ +Before '@ignore-platform-windows' do + skip_this_scenario +end + +Before '@ignore-platform-unix' do + skip_this_scenario +end + +Before '@ignore-platform-mac' do + skip_this_scenario +end diff --git a/features/testbot/via.feature b/features/testbot/via.feature index a88b0f4b4..4a7c96328 100644 --- a/features/testbot/via.feature +++ b/features/testbot/via.feature @@ -93,6 +93,8 @@ Feature: Via points | 1,3,2 | ab,bc,cd,cd,de,ef,fa,ab,bc | 1600m +-1 | head,straight,straight,via,right,right,right,right,straight,destination | | 3,2,1 | cd,de,ef,fa,ab,bc,bc,cd,de,ef,fa,ab | 2400m +-1 | head,right,right,right,right,straight,via,straight,right,right,right,right,destination | + # TODO: Remove this ignore when https://github.com/Project-OSRM/osrm-backend/issues/1863 gets fixed + @ignore-platform-mac Scenario: Via points on ring on the same oneway # xa it to avoid only having a single ring, which cna trigger edge cases Given the node map