forked from IMSMWU/RClickhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (38 loc) · 1.14 KB
/
.travis.yml
File metadata and controls
41 lines (38 loc) · 1.14 KB
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
language: r
cache: packages
latex: false
warnings_are_errors: false
matrix:
include:
- os: linux
dist: trusty
sudo: required
before_script:
- sudo sed -i '/<listen_host>::1/d' /etc/clickhouse-server/config.xml # don't listen on localhost
- sudo service clickhouse-server start # not using builtin service directive, so that the steps are executed in the correct order
addons:
apt:
packages:
- clickhouse-server-base
- clickhouse-server-common
sources:
- sourceline: 'deb http://repo.yandex.ru/clickhouse/deb/stable/ main/'
# OS X BUILDS
#
# travis supports only 4gb RAM os x instances and
# that is not enough for building clickhouse. We
# have to wait for bigger instances or pre-build
# packages.
#
#- os: osx
# osx_image: xcode9.2
# before_install:
# - brew tap hatarist/clickhouse
# install:
# - travis_wait 30 brew install clickhouse
# before_script:
# - brew services start clickhouse
# faster builds by exploiting the number of cores
env:
global:
- MAKEFLAGS="-j 2"