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
|
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
|
|
|
|
2018-09-05 08:43:49 +02:00
|
|
|
#matrix:
|
|
|
|
# include:
|
|
|
|
# - os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# sudo: required
|
|
|
|
# compiler: g++-6
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages:
|
|
|
|
# - ['gcc-6', 'g++-6']
|
|
|
|
# - ['libssl-dev', 'libsodium-dev']
|
|
|
|
# - ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool']
|
|
|
|
# env:
|
|
|
|
# - CCOMPILER=gcc-6
|
|
|
|
# - CXXCOMPILER=g++-6
|
|
|
|
# - WITH_INCLUDED_BOOST=--with-included-boost
|
|
|
|
# - WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
|
|
|
|
# - 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
|
2018-09-05 08:43:49 +02:00
|
|
|
# # - WITH_INCLUDED_JS=--with-included-js=shared
|
2017-03-10 16:19:13 +01:00
|
|
|
#
|
|
|
|
#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
|