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

View file

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

View file

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