2016-02-10 00:00:30 +01:00
|
|
|
# Travis-CI Build for charybdis
|
|
|
|
# see travis-ci.org for details
|
|
|
|
|
2017-11-30 21:39:43 +01:00
|
|
|
language: cpp
|
|
|
|
sudo: required
|
2016-02-10 00:00:30 +01:00
|
|
|
|
2016-07-16 20:06:28 +02:00
|
|
|
git:
|
|
|
|
submodules: false
|
|
|
|
|
2017-09-09 14:50:40 +02:00
|
|
|
#notifications:
|
|
|
|
# webhooks:
|
|
|
|
# urls:
|
2017-11-30 21:39:43 +01:00
|
|
|
# - http://zemos.net:6699/
|
2017-09-09 14:50:40 +02:00
|
|
|
# on_success: always
|
|
|
|
# on_failure: always
|
|
|
|
# on_start: always
|
2016-08-11 12:22:38 +02:00
|
|
|
|
2016-02-10 00:00:30 +01:00
|
|
|
matrix:
|
|
|
|
include:
|
2016-07-16 20:06:28 +02:00
|
|
|
- os: linux
|
2017-12-12 22:17:42 +01:00
|
|
|
dist: trusty
|
2017-11-30 21:39:43 +01:00
|
|
|
compiler: g++-6
|
2017-12-12 22:17:42 +01:00
|
|
|
sudo: required
|
2016-07-16 20:06:28 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2017-12-12 22:17:42 +01:00
|
|
|
- ['gcc-6', 'g++-6']
|
|
|
|
- ['libssl-dev', 'libsodium-dev']
|
2017-09-09 14:50:40 +02:00
|
|
|
- ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool']
|
2016-07-16 20:06:28 +02:00
|
|
|
env:
|
2016-10-11 06:28:16 +02:00
|
|
|
- CCOMPILER=gcc-6
|
|
|
|
- CXXCOMPILER=g++-6
|
|
|
|
- WITH_INCLUDED_BOOST=--with-included-boost
|
|
|
|
- WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
|
2017-12-12 22:17:42 +01:00
|
|
|
- WITH_INCLUDED_JS=
|
|
|
|
# - WITH_INCLUDED_JS=--with-included-js=shared
|
2016-07-16 20:06:28 +02:00
|
|
|
|
2017-09-19 11:17:35 +02:00
|
|
|
# - os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# group: unstable
|
|
|
|
# sudo: required
|
|
|
|
# compiler: clang-3.9
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - ubuntu-toolchain-r-test
|
|
|
|
# - llvm-toolchain-trusty-3.9
|
|
|
|
# packages:
|
|
|
|
# - clang-3.9
|
|
|
|
# - gcc-6
|
|
|
|
# - g++-6
|
|
|
|
# - ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool']
|
|
|
|
# env:
|
|
|
|
# - CCOMPILER=clang-3.9
|
|
|
|
# - CXXCOMPILER=clang++-3.9
|
|
|
|
# - WITH_INCLUDED_BOOST=--with-included-boost
|
|
|
|
# - WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
|
|
|
|
# - WITH_INCLUDED_JS=--with-included-js=shared
|
2016-03-10 18:32:46 +01:00
|
|
|
|
2017-03-10 16:19:13 +01:00
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# env:
|
|
|
|
# - CCOMPILER=clang
|
|
|
|
# - CXXCOMPILER=clang++
|
|
|
|
# - LIBTOOLIZE=glibtoolize
|
|
|
|
# - WITH_INCLUDED_BOOST=--with-included-boost
|
|
|
|
# - WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
|
|
|
|
# - WITH_INCLUDED_JS=--with-included-js=shared
|
|
|
|
#
|
|
|
|
#osx_image: xcode7.3
|
2016-02-10 00:00:30 +01:00
|
|
|
|
|
|
|
script:
|
2016-07-16 20:06:28 +02:00
|
|
|
- export CC=$CCOMPILER CXX=$CXXCOMPILER
|
2016-07-25 02:14:36 +02:00
|
|
|
- git rev-parse --verify HEAD
|
|
|
|
- m4 --version
|
|
|
|
- autoconf --version
|
|
|
|
- automake --version
|
|
|
|
- make --version
|
2016-07-16 20:06:28 +02:00
|
|
|
- $CC --version
|
|
|
|
- $CXX --version
|
|
|
|
- time bash autogen.sh
|
2017-11-30 21:39:43 +01:00
|
|
|
- time ./configure $WITH_INCLUDED_BOOST $WITH_INCLUDED_ROCKSDB $WITH_INCLUDED_JS CC=$CC CXX=$CXX
|
2016-07-16 20:06:28 +02:00
|
|
|
- time make -j4
|
|
|
|
- time make -j4 install
|