generate-shapes/.travis.yml

43 lines
728 B
YAML
Raw Normal View History

language: cpp
2020-08-19 20:58:26 +03:00
sudo: true
os:
- linux
2018-07-23 17:05:14 +02:00
- osx
2020-08-19 20:58:26 +03:00
dist: bionic
osx_image: xcode12
compiler:
- gcc
- clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
2020-08-19 20:21:39 +03:00
- libosmium2-dev
homebrew:
packages:
- libosmium
- boost
2018-07-23 03:32:42 +02:00
before_install:
2018-07-23 03:39:44 +02:00
- export LD_LIBRARY_PATH=$(if [[ $CXX == "clang++" ]]; then echo -n '/usr/local/clang/lib'; fi)
2020-08-19 20:58:26 +03:00
- git clone https://github.com/mapbox/protozero.git && cd protozero && cmake . -DINSTALL_GDALCPP=ON -DINSTALL_UTFCPP=ON && sudo make -j4 install && cd ..
2018-07-23 03:32:42 +02:00
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make -j4
2018-07-23 03:07:28 +02:00
- ctest --verbose
notifications:
email:
on_success: never
2018-07-23 17:15:39 +02:00
on_failure: always