0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-18 18:08:21 +02:00
construct/.travis.yml

149 lines
3.6 KiB
YAML
Raw Normal View History

2016-02-10 00:00:30 +01:00
# Travis-CI Build for charybdis
# see travis-ci.org for details
2016-07-16 20:06:28 +02:00
language: c++
2016-02-10 00:00:30 +01:00
sudo: false
2016-07-16 20:06:28 +02:00
git:
submodules: false
2016-08-11 12:22:38 +02:00
notifications:
webhooks:
urls:
2017-03-09 18:16:34 +01:00
- http://98.171.169.78:6699/
2016-08-11 12:22:38 +02:00
on_success: always
on_failure: always
on_start: always
2016-02-10 00:00:30 +01:00
matrix:
include:
2016-07-16 20:06:28 +02:00
- os: linux
dist: precise
group: stable
compiler: gcc-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
2016-10-11 06:28:16 +02:00
- ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool', 'libsqlite3-dev']
2016-07-16 20:06:28 +02:00
env:
- CCOMPILER=gcc-4.9
- CXXCOMPILER=g++-4.9
- WITH_INCLUDED_BOOST=--with-included-boost
- WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
2016-10-11 06:28:16 +02:00
- WITH_INCLUDED_JS=--with-included-js=shared
2016-07-16 20:06:28 +02:00
- os: linux
dist: precise
group: stable
compiler: gcc-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
2016-10-11 06:28:16 +02:00
- ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool', 'libsqlite3-dev']
2016-07-16 20:06:28 +02:00
env:
- CCOMPILER=gcc-5
- CXXCOMPILER=g++-5
- WITH_INCLUDED_BOOST=--with-included-boost
- WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
2016-10-11 06:28:16 +02:00
- WITH_INCLUDED_JS=--with-included-js=shared
2016-07-16 20:06:28 +02:00
- os: linux
dist: trusty
group: unstable
compiler: gcc-6
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
2016-10-11 06:28:16 +02:00
- ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool', 'libsqlite3-dev']
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
- WITH_INCLUDED_JS=--with-included-js=shared
2016-07-16 20:06:28 +02:00
- os: linux
dist: precise
group: unstable
sudo: false
compiler: clang-3.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
2016-10-11 06:28:16 +02:00
- ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool', 'libsqlite3-dev']
2016-07-16 20:06:28 +02:00
env:
- CCOMPILER=clang-3.6
- CXXCOMPILER=clang++-3.6
- WITH_INCLUDED_BOOST=--with-included-boost
- WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
2016-10-11 06:28:16 +02:00
- WITH_INCLUDED_JS=--with-included-js=shared
2016-07-16 20:06:28 +02:00
- os: linux
dist: trusty
group: unstable
sudo: required
compiler: clang-3.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-3.8
packages:
- clang-3.8
- gcc-4.9
- g++-4.9
2016-10-11 06:28:16 +02:00
- ['automake', 'autoconf', 'autoconf2.13', 'autoconf-archive', 'libtool', 'shtool', 'libsqlite3-dev']
env:
- CCOMPILER=clang-3.8
- CXXCOMPILER=clang++-3.8
- WITH_INCLUDED_BOOST=--with-included-boost
- WITH_INCLUDED_ROCKSDB=--with-included-rocksdb=shared
2016-10-11 06:28:16 +02:00
- WITH_INCLUDED_JS=--with-included-js=shared
2016-07-16 20:06:28 +02: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
2016-10-11 06:28:16 +02:00
- WITH_INCLUDED_JS=--with-included-js=shared
2016-03-10 18:32:46 +01:00
2016-02-10 00:00:30 +01:00
osx_image: xcode7.3
cache:
apt:
ccache:
script:
2016-07-16 20:06:28 +02:00
- export CC=$CCOMPILER CXX=$CXXCOMPILER
- 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
2016-10-11 06:28:16 +02:00
- time ./configure --with-shared-sqlite $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