2018-01-19 17:23:07 +00:00
|
|
|
language: generic
|
2018-01-15 18:57:10 +00:00
|
|
|
|
|
|
|
matrix:
|
2018-01-21 20:17:33 +00:00
|
|
|
fast_finish: true
|
2018-01-15 18:57:10 +00:00
|
|
|
include:
|
2018-02-13 18:00:06 +00:00
|
|
|
# - os: linux
|
|
|
|
#
|
|
|
|
# cache:
|
|
|
|
# ccache: true
|
|
|
|
# timeout: 1000
|
|
|
|
#
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - ubuntu-toolchain-r-test
|
2018-05-07 10:29:19 +00:00
|
|
|
# packages: [ g++-7, libicu-dev, libreadline-dev, libmysqlclient-dev, unixodbc-dev, libltdl-dev, libssl-dev, libboost-dev, zlib1g-dev, libdouble-conversion-dev, libsparsehash-dev, librdkafka-dev, libcapnp-dev, libsparsehash-dev, libgoogle-perftools-dev, bash, expect, python, python-lxml, python-termcolor, curl, perl, sudo, openssl ]
|
2018-02-13 18:00:06 +00:00
|
|
|
#
|
|
|
|
# env:
|
|
|
|
# - MATRIX_EVAL="export CC=gcc-7 && export CXX=g++-7"
|
|
|
|
#
|
|
|
|
# script:
|
|
|
|
# - env TEST_RUN= utils/travis/normal.sh
|
2018-01-15 18:57:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# We need to have gcc7 headers to compile c++17 code on clang
|
|
|
|
- os: linux
|
|
|
|
|
|
|
|
cache:
|
|
|
|
ccache: true
|
|
|
|
timeout: 1000
|
2018-02-13 19:39:21 +00:00
|
|
|
directories:
|
|
|
|
- /home/travis/.ccache
|
2018-01-15 18:57:10 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-trusty-5.0
|
2018-05-07 10:29:19 +00:00
|
|
|
packages: [ g++-7, clang-5.0, lld-5.0, libicu-dev, libreadline-dev, libmysqlclient-dev, unixodbc-dev, libltdl-dev, libssl-dev, libboost-dev, zlib1g-dev, libdouble-conversion-dev, libsparsehash-dev, librdkafka-dev, libcapnp-dev, libsparsehash-dev, libgoogle-perftools-dev, bash, expect, python, python-lxml, python-termcolor, curl, perl, sudo, openssl]
|
2018-01-15 18:57:10 +00:00
|
|
|
|
|
|
|
env:
|
2018-01-19 17:23:07 +00:00
|
|
|
- MATRIX_EVAL="export CC=clang-5.0 && export CXX=clang++-5.0"
|
2018-01-15 18:57:10 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- utils/travis/normal.sh
|
|
|
|
|
|
|
|
|
2018-02-13 18:00:06 +00:00
|
|
|
# TODO: fix internal compiler
|
|
|
|
# - os: linux
|
|
|
|
#
|
|
|
|
# sudo: required
|
|
|
|
#
|
|
|
|
# cache:
|
|
|
|
# timeout: 1000
|
|
|
|
# directories:
|
|
|
|
# - /var/cache/pbuilder/ccache
|
|
|
|
#
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages: [ pbuilder, fakeroot, debhelper ]
|
|
|
|
#
|
|
|
|
# env:
|
|
|
|
# - MATRIX_EVAL="export DEB_CC=clang-5.0 && export DEB_CXX=clang++-5.0"
|
|
|
|
#
|
|
|
|
# script:
|
|
|
|
# - utils/travis/pbuilder.sh
|
|
|
|
|
|
|
|
|
2018-01-15 18:57:10 +00:00
|
|
|
- os: linux
|
|
|
|
|
|
|
|
sudo: required
|
|
|
|
|
|
|
|
cache:
|
|
|
|
timeout: 1000
|
|
|
|
directories:
|
|
|
|
- /var/cache/pbuilder/ccache
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages: [ pbuilder, fakeroot, debhelper ]
|
|
|
|
|
|
|
|
script:
|
|
|
|
- utils/travis/pbuilder.sh
|
|
|
|
|
2018-01-19 17:23:07 +00:00
|
|
|
|
2018-02-13 18:00:06 +00:00
|
|
|
# - os: linux
|
|
|
|
#
|
|
|
|
# sudo: required
|
|
|
|
#
|
|
|
|
# cache:
|
|
|
|
# timeout: 1000
|
|
|
|
# directories:
|
|
|
|
# - /var/cache/pbuilder/ccache
|
|
|
|
#
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages: [ pbuilder, fakeroot, debhelper ]
|
|
|
|
#
|
|
|
|
# env:
|
|
|
|
# - MATRIX_EVAL="export ARCH=i386"
|
|
|
|
#
|
|
|
|
# script:
|
|
|
|
# - env PBUILDER_TIMEOUT=40m TEST_TRUE=true TEST_RUN= utils/travis/pbuilder.sh
|
2018-02-08 14:38:36 +00:00
|
|
|
|
|
|
|
|
2018-02-07 15:58:48 +00:00
|
|
|
# TODO: Can't bootstrap bionic on trusty host
|
|
|
|
# - os: linux
|
|
|
|
#
|
|
|
|
# sudo: required
|
|
|
|
#
|
|
|
|
# cache:
|
|
|
|
# timeout: 1000
|
|
|
|
# directories:
|
|
|
|
# - /var/cache/pbuilder/ccache
|
|
|
|
#
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages: [ pbuilder, fakeroot, debhelper ]
|
|
|
|
#
|
|
|
|
# env:
|
2018-02-26 18:34:22 +00:00
|
|
|
# - MATRIX_EVAL="export DEB_CC=clang-6.0 && export DEB_CXX=clang++-6.0 && export DIST=bionic && export EXTRAPACKAGES='clang-6.0 lld-6.0'"
|
2018-02-07 15:58:48 +00:00
|
|
|
#
|
|
|
|
# script:
|
|
|
|
# - utils/travis/pbuilder.sh
|
|
|
|
|
|
|
|
|
2018-01-26 09:03:38 +00:00
|
|
|
# Cant fit to time limit (48min)
|
2018-01-19 17:23:07 +00:00
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode9.2
|
|
|
|
#
|
|
|
|
# cache:
|
|
|
|
# ccache: true
|
|
|
|
# timeout: 1000
|
|
|
|
#
|
|
|
|
# before_install:
|
2018-01-26 09:03:38 +00:00
|
|
|
# - brew install unixodbc gcc ccache libtool gettext zlib readline double-conversion gperftools google-sparsehash lz4 zstd || true
|
2018-01-19 17:23:07 +00:00
|
|
|
# - brew link --overwrite gcc || true
|
|
|
|
#
|
|
|
|
# env:
|
|
|
|
# - MATRIX_EVAL="export CC=gcc-7 && export CXX=g++-7"
|
|
|
|
#
|
|
|
|
# script:
|
2018-01-26 09:03:38 +00:00
|
|
|
# - env CMAKE_FLAGS="-DUSE_INTERNAL_BOOST_LIBRARY=1" utils/travis/normal.sh
|
2018-01-19 17:23:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
|
|
|
|
2018-01-21 20:17:33 +00:00
|
|
|
before_script:
|
2018-01-15 18:57:10 +00:00
|
|
|
- eval "${MATRIX_EVAL}"
|