2019-08-16 15:41:03 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode11
|
2019-03-26 07:25:22 +00:00
|
|
|
|
2018-11-18 10:10:17 +00:00
|
|
|
sudo: required
|
2019-03-26 07:25:22 +00:00
|
|
|
|
2018-11-18 10:10:17 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- xenial
|
|
|
|
- sourceline: 'deb http://archive.ubuntu.com/ubuntu xenial main'
|
2019-07-26 14:22:12 +00:00
|
|
|
- sourceline: 'ppa:mhier/libboost-latest'
|
2018-11-18 10:10:17 +00:00
|
|
|
packages:
|
2019-03-26 07:25:22 +00:00
|
|
|
- gcc
|
|
|
|
- g++
|
2018-11-18 10:10:17 +00:00
|
|
|
- libjsoncpp-dev
|
|
|
|
- uuid-dev
|
|
|
|
- zlib1g-dev
|
2018-11-18 10:20:11 +00:00
|
|
|
- postgresql-server-dev-10
|
2018-11-18 10:10:17 +00:00
|
|
|
- openssl
|
|
|
|
- libssl-dev
|
2018-12-30 02:30:10 +00:00
|
|
|
- libsqlite3-dev
|
2018-11-18 10:10:17 +00:00
|
|
|
- build-essential
|
|
|
|
- cmake
|
2019-07-26 14:22:12 +00:00
|
|
|
- boost1.67
|
2018-11-18 10:10:17 +00:00
|
|
|
homebrew:
|
|
|
|
packages:
|
2019-03-26 07:25:22 +00:00
|
|
|
- jsoncpp
|
|
|
|
- ossp-uuid
|
2018-11-18 10:10:17 +00:00
|
|
|
- openssl
|
|
|
|
- cmake
|
|
|
|
- libtool
|
|
|
|
- lz4
|
2018-12-05 01:50:36 +00:00
|
|
|
- mariadb
|
2018-12-30 02:30:10 +00:00
|
|
|
- sqlite3
|
2019-08-16 15:41:03 +00:00
|
|
|
before_script:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|
|
|
brew services restart postgresql;
|
|
|
|
sleep 2;
|
|
|
|
psql -c 'create user postgres superuser;' postgres;
|
|
|
|
fi
|
2018-11-18 10:10:17 +00:00
|
|
|
|
2019-08-16 15:41:03 +00:00
|
|
|
services:
|
|
|
|
- postgresql
|
2018-11-18 10:10:17 +00:00
|
|
|
script:
|
2019-08-16 15:41:03 +00:00
|
|
|
- ./build.sh -t && ./test.sh -t
|