-
Notifications
You must be signed in to change notification settings - Fork 43
/
.travis.yml
83 lines (76 loc) · 2.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Travis-CI Build for charybdis
# see travis-ci.org for details
language: cpp
git:
submodules: false
#notifications:
# webhooks:
# urls:
# - http://zemos.net:6699/
# on_success: always
# on_failure: always
# on_start: always
#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
# - 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
# - 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
script:
- export CC=$CCOMPILER CXX=$CXXCOMPILER
- git rev-parse --verify HEAD
- m4 --version
- autoconf --version
- automake --version
- make --version
- $CC --version
- $CXX --version
- time bash autogen.sh
- time ./configure $WITH_INCLUDED_BOOST $WITH_INCLUDED_ROCKSDB $WITH_INCLUDED_JS CC=$CC CXX=$CXX
- time make -j4
- time make -j4 install