generate-shapes/.travis.yml

43 lines
728 B
YAML
Raw Normal View History

language: cpp
2020-08-19 17:58:26 +00:00
sudo: true
os:
- linux
2018-07-23 15:05:14 +00:00
- osx
2020-08-19 17:58:26 +00:00
dist: bionic
osx_image: xcode12
compiler:
- gcc
- clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
2020-08-19 17:21:39 +00:00
- libosmium2-dev
homebrew:
packages:
- libosmium
- boost
2018-07-23 01:32:42 +00:00
before_install:
2018-07-23 01:39:44 +00:00
- export LD_LIBRARY_PATH=$(if [[ $CXX == "clang++" ]]; then echo -n '/usr/local/clang/lib'; fi)
2020-08-19 17:58:26 +00: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 01:32:42 +00:00
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make -j4
2018-07-23 01:07:28 +00:00
- ctest --verbose
notifications:
email:
on_success: never
2018-07-23 15:15:39 +00:00
on_failure: always