dont build on osx in travis

This commit is contained in:
Patrick Brosi 2018-07-23 03:32:42 +02:00
parent eb415cd234
commit 2f356239bc
3 changed files with 7 additions and 2 deletions

View file

@ -2,7 +2,6 @@ language: cpp
os:
- linux
- osx
compiler:
- gcc
@ -15,6 +14,9 @@ addons:
packages:
- cmake
before_install:
- export LD_LIBRARY_PATH=$(if [[ $C == "clang" ]]; then echo -n '/usr/local/clang/lib'; fi)
before_script:
- mkdir build
- cd build

View file

@ -60,6 +60,9 @@ else()
set(VERSION_GIT_FULL "${VERSION_GIT}-${VERSION_GIT_IS_DIRTY}")
endif()
include(CheckSymbolExists)
check_symbol_exists(posix_fadvise fcntl.h HAVE_POSIX_FADVISE)
add_subdirectory(src)
# tests

View file

@ -10,7 +10,7 @@ Precise map-matching for public transit schedules (GTFS data).
## Requirements
* `cmake`
* `gcc >= 4.8`
* `gcc >= 4.8` (or `clang >= 5.0`)
## Building and Installation